com.groupdocs.conversion.options.save

Class PdfOptions



  • public final class PdfOptions
    extends Object

    Options for converting to Pdf

    • Constructor Detail

      • PdfOptions

        public PdfOptions()
    • Method Detail

      • getPdfFormat

        public final int getPdfFormat()

        Set the pdf format of the converted document.

        Returns:
      • setPdfFormat

        public final void setPdfFormat(int value)

        Set the pdf format of the converted document.

        Parameters:
        value -
      • getRemovePdfaCompliance

        public final boolean getRemovePdfaCompliance()

        Remove Pdf-A Compliance

        Returns:
      • setRemovePdfaCompliance

        public final void setRemovePdfaCompliance(boolean value)

        Remove Pdf-A Compliance

        Parameters:
        value -
      • getZoom

        public final int getZoom()

        Specifies the zoom level in percentage. Default is 100.

        Returns:
      • setZoom

        public final void setZoom(int value)

        Specifies the zoom level in percentage. Default is 100.

        Parameters:
        value -
      • getLinearize

        public final boolean getLinearize()

        Linearize PDF Document for the Web

        Returns:
      • setLinearize

        public final void setLinearize(boolean value)

        Linearize PDF Document for the Web

        Parameters:
        value -
      • getOptimizationOptions

        public final com.groupdocs.conversion.options.save.PdfOptimizationOptions getOptimizationOptions()

        Pdf optimization options

        Returns:
      • getGrayscale

        public final boolean getGrayscale()

        Convert a PDF from RGB colorspace to Grayscale

        Returns:
      • setGrayscale

        public final void setGrayscale(boolean value)

        Convert a PDF from RGB colorspace to GRAYSCALE

        Parameters:
        value -
      • getFormatingOptions

        public final PdfFormattingOptions getFormatingOptions()

        Pdf formatting options

        Returns: