com.groupdocs.redaction.options

Class RasterizationOptions



  • public class RasterizationOptions
    extends Object

    Provides options for converting files into PDF.

    • Constructor Summary

      Constructors 
      Constructor and Description
      RasterizationOptions()
      Initializes a new instance.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      PdfComplianceLevel getCompliance()
      Gets the PDF Compliance level.
      boolean getEnabled()
      Gets a value indicating whether all pages in the document need to be converted to images and put in a single PDF file.
      int getPageCount()
      Gets the number of pages to be converted into PDF.
      int getPageIndex()
      Gets the index of the first page (0-based) to convert into PDF.
      boolean isPageCountSet()
      Gets a value indicating whether the PageCount property was changed (set) after its initialization.
      boolean isStartPageIndexSet()
      Gets a value indicating whether the PageIndex property was changed (set) after its initialization.
      void setCompliance(PdfComplianceLevel value)
      Sets the PDF Compliance level.
      void setEnabled(boolean value)
      Sets a value indicating whether all pages in the document need to be converted to images and put in a single PDF file.
      void setPageCount(int value)
      Sets the number of pages to be converted into PDF.
      void setPageIndex(int value)
      Sets the index of the first page (0-based) to convert into PDF.
    • Constructor Detail

      • RasterizationOptions

        public RasterizationOptions()

        Initializes a new instance.

    • Method Detail

      • getEnabled

        public final boolean getEnabled()

        Gets a value indicating whether all pages in the document need to be converted to images and put in a single PDF file. TRUE by default, set to FALSE in order to avoid rasterization.

        Returns:
        A value indicating whether all pages in the document need to be converted to images and put in a single PDF file. TRUE by default, set to FALSE in order to avoid rasterization.
      • setEnabled

        public final void setEnabled(boolean value)

        Sets a value indicating whether all pages in the document need to be converted to images and put in a single PDF file. TRUE by default, set to FALSE in order to avoid rasterization.

        Parameters:
        value - A value indicating whether all pages in the document need to be converted to images and put in a single PDF file. TRUE by default, set to FALSE in order to avoid rasterization.
      • getPageIndex

        public final int getPageIndex()

        Gets the index of the first page (0-based) to convert into PDF.

        Returns:
        The index of the first page (0-based) to convert into PDF.
      • setPageIndex

        public final void setPageIndex(int value)

        Sets the index of the first page (0-based) to convert into PDF.

        Parameters:
        value - The index of the first page (0-based) to convert into PDF.
      • isStartPageIndexSet

        public final boolean isStartPageIndexSet()

        Gets a value indicating whether the PageIndex property was changed (set) after its initialization.

        Returns:
        A value indicating whether the PageIndex property was changed (set) after its initialization.
      • getPageCount

        public final int getPageCount()

        Gets the number of pages to be converted into PDF.

        Returns:
        The number of pages to be converted into PDF.
      • setPageCount

        public final void setPageCount(int value)

        Sets the number of pages to be converted into PDF.

        Parameters:
        value - The number of pages to be converted into PDF.
      • isPageCountSet

        public final boolean isPageCountSet()

        Gets a value indicating whether the PageCount property was changed (set) after its initialization.

        Returns:
        A value indicating whether the PageCount property was changed (set) after its initialization.
      • getCompliance

        public final PdfComplianceLevel getCompliance()

        Gets the PDF Compliance level.

        Returns:
        The PDF Compliance level.
      • setCompliance

        public final void setCompliance(PdfComplianceLevel value)

        Sets the PDF Compliance level.

        Parameters:
        value - The PDF Compliance level.