com.aspose.note

Class PdfSaveOptions



  • public final class PdfSaveOptions
    extends SaveOptions

    Allows to specify additional options when rendering document pages to PDF.

    • Constructor Detail

      • PdfSaveOptions

        public PdfSaveOptions()

        Initializes a new instance of the PdfSaveOptions class.

    • Method Detail

      • getPageCount

        public int getPageCount()

        Gets or sets the number of pages to save. By default is System.int32.maxValue which means all pages of the document will be rendered.

      • setPageCount

        public void setPageCount(int value)

        Gets or sets the number of pages to save. By default is System.int32.maxValue which means all pages of the document will be rendered.

      • getImageCompression

        public final int getImageCompression()

        Gets or sets the type of compression applied to images in the PDF file.

      • setImageCompression

        public final void setImageCompression(int value)

        Gets or sets the type of compression applied to images in the PDF file.

      • getJpegQuality

        public final int getJpegQuality()

        Gets or sets a value determining the quality of the JPEG images inside PDF document.

      • setJpegQuality

        public final void setJpegQuality(int value)

        Gets or sets a value determining the quality of the JPEG images inside PDF document.

      • getPageIndex

        public int getPageIndex()

        Gets or sets the index of the first page to save. By default is 0.

      • setPageIndex

        public void setPageIndex(int value)

        Gets or sets the index of the first page to save. By default is 0.

      • getPageSplittingAlgorithm

        public PageSplittingAlgorithm getPageSplittingAlgorithm()

        Gets or sets algorithm used for page splitting.

        Value: The PageSplittingAlgorithm.
      • setPageSplittingAlgorithm

        public void setPageSplittingAlgorithm(PageSplittingAlgorithm value)

        Gets or sets algorithm used for page splitting.

        Value: The PageSplittingAlgorithm.