com.groupdocs.conversion.converter.option

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_PdfSaveOptions_New

        public com.groupdocs.foundation.domain.FileType getConvertFileType_PdfSaveOptions_New()

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

        Returns:
      • setConvertFileType_PdfSaveOptions_New

        public void setConvertFileType_PdfSaveOptions_New(com.groupdocs.foundation.domain.FileType value)

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

        Parameters:
        value -
      • getWordBookmarks

        public String getWordBookmarks()

        If the input document is Word the conversion will handle the word bookmarks regarding this option. Use GroupDocs.Conversion.Domain.WordBookmarksWordBookmarks to set desired behavior

        Returns:
      • setWordBookmarks

        public void setWordBookmarks(String value)

        If the input document is Word the conversion will handle the word bookmarks regarding this option. Use GroupDocs.Conversion.Domain.WordBookmarksWordBookmarks to set desired behavior

        Parameters:
        value -
      • getWidth

        public int getWidth()

        Desired page width in pixels after conversion

        Returns:
      • setWidth

        public void setWidth(int value)

        Desired page width in pixels after conversion

        Parameters:
        value -
      • getHeight

        public int getHeight()

        Desired page height in pixels after conversion

        Returns:
      • setHeight

        public void setHeight(int value)

        Desired page height in pixels after conversion

        Parameters:
        value -
      • getDpi

        public double getDpi()

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

        Returns:
      • setDpi

        public void setDpi(double value)

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

        Parameters:
        value -
      • getPassword

        public String getPassword()

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

        Returns:
      • setPassword

        public void setPassword(String value)

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

        Parameters:
        value -
      • getMarginTop

        public int getMarginTop()

        Desired page top margin in pixels after conversion

        Returns:
      • setMarginTop

        public void setMarginTop(int value)

        Desired page top margin in pixels after conversion

        Parameters:
        value -
      • getMarginBottom

        public int getMarginBottom()

        Desired page bottom margin in pixels after conversion

        Returns:
      • setMarginBottom

        public void setMarginBottom(int value)

        Desired page bottom margin in pixels after conversion

        Parameters:
        value -
      • getMarginLeft

        public int getMarginLeft()

        Desired page left margin in pixels after conversion

        Returns:
      • setMarginLeft

        public void setMarginLeft(int value)

        Desired page left margin in pixels after conversion

        Parameters:
        value -
      • getMarginRight

        public int getMarginRight()

        Desired page right margin in pixels after conversion

        Returns:
      • setMarginRight

        public void setMarginRight(int value)

        Desired page right margin in pixels after conversion

        Parameters:
        value -
      • getPageMode_PdfSaveOptions_New

        public boolean getPageMode_PdfSaveOptions_New()

        If true the conversion result will be set of streams/files for each page If false only one stream/file will be returned Default: false

        Returns:
      • setPageMode_PdfSaveOptions_New

        public void setPageMode_PdfSaveOptions_New(boolean value)

        If true the conversion result will be set of streams/files for each page If false only one stream/file will be returned Default: false

        Parameters:
        value -
      • getPdfOptions

        public com.groupdocs.conversion.converter.option.PdfOptions getPdfOptions()

        Pdf specific convert options

        Returns:
      • setPdfOptions

        public void setPdfOptions(com.groupdocs.conversion.converter.option.PdfOptions value)

        Pdf specific convert options

        Parameters:
        value -