public final class PdfSaveOptions extends Object implements IDocumentSaveOptions
Allows to specify custom options for generating and saving PDF (Portable Document Format) documents
Constructor and Description |
---|
PdfSaveOptions() |
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.
|
public int getCompliance()
Specifies the PDF standards compliance level for output documents. Default is PdfCompliance.Pdf15.
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).
getPassword
in interface IDocumentSaveOptions
public void setCompliance(int value)
Specifies the PDF standards compliance level for output documents. Default is PdfCompliance.Pdf15.
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).
setPassword
in interface IDocumentSaveOptions
Copyright © 2018. All rights reserved.