com.groupdocs.editor.options

Class PdfSaveOptions

  • All Implemented Interfaces:
    IDocumentSaveOptions


    public final class PdfSaveOptions
    extends Object
    implements IDocumentSaveOptions

    Allows to specify custom options for generating and saving PDF (Portable Document Format) documents

    • Constructor Summary

      Constructors 
      Constructor and Description
      PdfSaveOptions() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getCompliance()
      Specifies the PDF standards compliance level for output documents.
      String getPassword()
      Password, which will be applied to the generated PDF document as user password, required for opening.
      void setCompliance(int value)
      Specifies the PDF standards compliance level for output documents.
      void setPassword(String value)
      Password, which will be applied to the generated PDF document as user password, required for opening.
    • Constructor Detail

      • PdfSaveOptions

        public PdfSaveOptions()
    • Method Detail

      • getCompliance

        public int getCompliance()

        Specifies the PDF standards compliance level for output documents. Default is PdfCompliance.Pdf15.

      • getPassword

        public String getPassword()

        Password, which will be applied to the generated PDF document as user password, required for opening. If NULL or empty, no password will be applied to the document. Otherwise, document will be encrypted with RC4 (key length of 128 bit).

        Specified by:
        getPassword in interface IDocumentSaveOptions
      • setCompliance

        public void setCompliance(int value)

        Specifies the PDF standards compliance level for output documents. Default is PdfCompliance.Pdf15.

      • setPassword

        public void setPassword(String value)

        Password, which will be applied to the generated PDF document as user password, required for opening. If NULL or empty, no password will be applied to the document. Otherwise, document will be encrypted with RC4 (key length of 128 bit).

        Specified by:
        setPassword in interface IDocumentSaveOptions