com.groupdocs.conversion.options.convert

Class PdfConvertOptions

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<ValueObject>, IConvertOptions, IPagedConvertOptions, com.groupdocs.conversion.options.convert.IPageMarginConvertOptions, com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions, IPageRangedConvertOptions, com.groupdocs.conversion.options.convert.IPageSizeConvertOptions, IWatermarkedConvertOptions, Serializable, Cloneable


    public class PdfConvertOptions
    extends com.groupdocs.conversion.options.convert.CommonConvertOptions<PdfFileType>
    implements Serializable, com.groupdocs.conversion.options.convert.IPageMarginConvertOptions, com.groupdocs.conversion.options.convert.IPageSizeConvertOptions, com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions

    Options for conversion to Pdf file type.

    See Also:
    Serialized Form
    • Constructor Detail

      • PdfConvertOptions

        public PdfConvertOptions()

        Initializes new instance of PdfConvertOptions class.

    • Method Detail

      • getWidth

        public final int getWidth()

        Desired page width in pixels after conversion.

      • setWidth

        public final void setWidth(int value)

        Desired page width in pixels after conversion.

      • getHeight

        public final int getHeight()

        Desired page height in pixels after conversion.

      • setHeight

        public final void setHeight(int value)

        Desired page height in pixels after conversion.

      • getDpi

        public final double getDpi()

        Desired page DPI after conversion. The default resolution is: 96 dpi.

      • setDpi

        public final void setDpi(double value)

        Desired page DPI after conversion. The default resolution is: 96 dpi.

      • getPassword

        public final String getPassword()

        Set this property if you want to protect the converted document with a password.

      • setPassword

        public final void setPassword(String value)

        Set this property if you want to protect the converted document with a password.

      • getMarginTop

        public final int getMarginTop()

        Desired page top margin in pixels after conversion.

        Specified by:
        getMarginTop in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginTop

        public final void setMarginTop(int value)

        Desired page top margin in pixels after conversion.

        Specified by:
        setMarginTop in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • getMarginBottom

        public final int getMarginBottom()

        Desired page bottom margin in pixels after conversion.

        Specified by:
        getMarginBottom in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginBottom

        public final void setMarginBottom(int value)

        Desired page bottom margin in pixels after conversion.

        Specified by:
        setMarginBottom in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • getMarginLeft

        public final int getMarginLeft()

        Desired page left margin in pixels after conversion.

        Specified by:
        getMarginLeft in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginLeft

        public final void setMarginLeft(int value)

        Desired page left margin in pixels after conversion.

        Specified by:
        setMarginLeft in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • getMarginRight

        public final int getMarginRight()

        Desired page right margin in pixels after conversion.

        Specified by:
        getMarginRight in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginRight

        public final void setMarginRight(int value)

        Desired page right margin in pixels after conversion.

        Specified by:
        setMarginRight in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • getPdfOptions

        public final PdfOptions getPdfOptions()

        Pdf specific convert options

      • setPdfOptions

        public final void setPdfOptions(PdfOptions value)

        Pdf specific convert options

      • getRotate

        public final Rotation getRotate()

        Page rotation

      • setRotate

        public final void setRotate(Rotation value)

        Page rotation

      • getPageOrientation

        public com.groupdocs.conversion.options.convert.PageOrientation getPageOrientation()
        Description copied from interface: com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions
        Gets page orientation after conversion
        Specified by:
        getPageOrientation in interface com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions
      • setPageOrientation

        public void setPageOrientation(com.groupdocs.conversion.options.convert.PageOrientation pageOrientation)
        Description copied from interface: com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions
        Sets desired page orientation after conversion
        Specified by:
        setPageOrientation in interface com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions
      • getPageSize

        public com.groupdocs.conversion.options.convert.PageSize getPageSize()
        Description copied from interface: com.groupdocs.conversion.options.convert.IPageSizeConvertOptions
        Gets desired page size after conversion
        Specified by:
        getPageSize in interface com.groupdocs.conversion.options.convert.IPageSizeConvertOptions
      • setPageSize

        public void setPageSize(com.groupdocs.conversion.options.convert.PageSize pageSize)
        Description copied from interface: com.groupdocs.conversion.options.convert.IPageSizeConvertOptions
        Set desired page size after conversion
        Specified by:
        setPageSize in interface com.groupdocs.conversion.options.convert.IPageSizeConvertOptions