com.groupdocs.conversion.options.save

Class PdfSaveOptions

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable, Cloneable


    public final class PdfSaveOptions
    extends SaveOptions

    Options for to PDF conversion

    • Constructor Detail

      • PdfSaveOptions

        public PdfSaveOptions()

        Create PdfSaveOptions instance

    • Method Detail

      • getConvertFileType

        public final long getConvertFileType()

        The desired file type to which the input document should be converted to

        Overrides:
        getConvertFileType in class SaveOptions
        Returns:
      • setConvertFileType

        public final void setConvertFileType(long value)

        The desired file type to which the input document should be converted to

        Overrides:
        setConvertFileType in class SaveOptions
        Parameters:
        value -
      • getWidth

        public final int getWidth()

        Desired page width in pixels after conversion

        Returns:
      • setWidth

        public final void setWidth(int value)

        Desired page width in pixels after conversion

        Parameters:
        value -
      • getHeight

        public final int getHeight()

        Desired page height in pixels after conversion

        Returns:
      • setHeight

        public final void setHeight(int value)

        Desired page height in pixels after conversion

        Parameters:
        value -
      • getDpi

        public final double getDpi()

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

        Returns:
      • setDpi

        public final void setDpi(double value)

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

        Parameters:
        value -
      • getPassword

        public final String getPassword()

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

        Returns:
      • setPassword

        public final void setPassword(String value)

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

        Parameters:
        value -
      • getMarginTop

        public final int getMarginTop()

        Desired page top margin in pixels after conversion

        Returns:
      • setMarginTop

        public final void setMarginTop(int value)

        Desired page top margin in pixels after conversion

        Parameters:
        value -
      • getMarginBottom

        public final int getMarginBottom()

        Desired page bottom margin in pixels after conversion

        Returns:
      • setMarginBottom

        public final void setMarginBottom(int value)

        Desired page bottom margin in pixels after conversion

        Parameters:
        value -
      • getMarginLeft

        public final int getMarginLeft()

        Desired page left margin in pixels after conversion

        Returns:
      • setMarginLeft

        public final void setMarginLeft(int value)

        Desired page left margin in pixels after conversion

        Parameters:
        value -
      • getMarginRight

        public final int getMarginRight()

        Desired page right margin in pixels after conversion

        Returns:
      • setMarginRight

        public final void setMarginRight(int value)

        Desired page right margin in pixels after conversion

        Parameters:
        value -
      • getPdfOptions

        public final PdfOptions getPdfOptions()

        Pdf specific convert options

        Returns:
      • getWordBookmarkOptions

        public final WordBookmarksOptions getWordBookmarkOptions()

        If the input document is Word the conversion will handle the word bookmarks regarding this option.

        Returns:
      • getRotate

        public final int getRotate()

        Rotate page

      • setRotate

        public final void setRotate(int value)

        Rotate page