Packages

 

com.aspose.psd.fileformats.pdf

Class PdfCoreOptions



  • public class PdfCoreOptions
    extends Object

    The common options for conversion to PDF

    • Constructor Detail

      • PdfCoreOptions

        public PdfCoreOptions()
    • Method Detail

      • getHeadingsOutlineLevels

        public int getHeadingsOutlineLevels()

        Specifies how many levels of outline items to include in the document outline. 0 - no outline, 1 - one outline level and so on. Default is 0.

      • setHeadingsOutlineLevels

        public void setHeadingsOutlineLevels(int value)

        Specifies how many levels of outline items to include in the document outline. 0 - no outline, 1 - one outline level and so on. Default is 0.

      • getExpandedOutlineLevels

        public int getExpandedOutlineLevels()

        Specifies how many levels in the document outline to show expanded when the PDF file is viewed. 0 - the document outline is not expanded. 1 - first level items in the document are expanded and so on. Default is 0.

      • setExpandedOutlineLevels

        public void setExpandedOutlineLevels(int value)

        Specifies how many levels in the document outline to show expanded when the PDF file is viewed. 0 - the document outline is not expanded. 1 - first level items in the document are expanded and so on. Default is 0.

      • getBookmarksOutlineLevel

        public int getBookmarksOutlineLevel()

        Specifies at which level in the document outline to display bookmark objects. 0 - not displayed. 1 at first level and so on. Default is 0.

      • setBookmarksOutlineLevel

        public void setBookmarksOutlineLevel(int value)

        Specifies at which level in the document outline to display bookmark objects. 0 - not displayed. 1 at first level and so on. Default is 0.

      • getJpegQuality

        public int getJpegQuality()

        Specifies the quality of JPEG compression for images (if JPEG compression is used). Default is 95.

      • setJpegQuality

        public void setJpegQuality(int value)

        Specifies the quality of JPEG compression for images (if JPEG compression is used). Default is 95.

      • getPdfCompliance

        public final int getPdfCompliance()

        Gets the PDF compliance.

        Returns:
        the PDF compliance.
      • setPdfCompliance

        public final void setPdfCompliance(int value)

        Sets the PDF compliance.

        Parameters:
        value - the PDF compliance.