public class PdfSaveOptions extends SaveOptions
Save options for PDF documents.
| Constructor and Description |
|---|
PdfSaveOptions()
Initializes a new instance of PdfSaveOptions class with default values.
|
PdfSaveOptions(boolean overwriteExistingFile)
Initializes a new instance of PdfSaveOptions class with overwrite flag.
|
PdfSaveOptions(int fileFormat)
Initializes a new instance of PdfSaveOptions class with specified output file format.
|
PdfSaveOptions(int fileFormat,
boolean overwriteExistingFile)
Initializes a new instance of PdfSaveOptions class with specified output file format and overwrite flag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFileFormat()
Gets or sets file format of signed document.
|
Integer |
getPermissions()
The PDF document permissions such as printing, modification and data extraction.
|
String |
getPermissionsPassword()
A permissions password (the primary password) requires a password to change permission settings.
|
void |
setFileFormat(int value)
Gets or sets file format of signed document.
|
void |
setPermissions(Integer value)
The PDF document permissions such as printing, modification and data extraction.
|
void |
setPermissionsPassword(String value)
A permissions password (the primary password) requires a password to change permission settings.
|
String |
toString()
Override string conversion.
|
getAddMissingExtenstion, getOverwriteExistingFiles, getPassword, getUseOriginalPassword, setAddMissingExtenstion, setOverwriteExistingFiles, setPassword, setUseOriginalPasswordpublic PdfSaveOptions()
Initializes a new instance of PdfSaveOptions class with default values.
public PdfSaveOptions(boolean overwriteExistingFile)
Initializes a new instance of PdfSaveOptions class with overwrite flag.
overwriteExistingFile - Flag whether to overwrite signed file with same file.public PdfSaveOptions(int fileFormat)
Initializes a new instance of PdfSaveOptions class with specified output file format.
fileFormat - Output file type PdfSaveFileFormat.public PdfSaveOptions(int fileFormat,
boolean overwriteExistingFile)
Initializes a new instance of PdfSaveOptions class with specified output file format and overwrite flag.
fileFormat - Output file type PdfSaveFileFormat.overwriteExistingFile - Flag whether to overwrite signed file with same file.public final int getFileFormat()
Gets or sets file format of signed document.
public final Integer getPermissions()
The PDF document permissions such as printing, modification and data extraction.
To modify these permissions, the PermissionsPassword must be set.
The value is a flags combination from Permissions.
A null value means no explicit permissions are applied.
public final String getPermissionsPassword()
A permissions password (the primary password) requires a password to change permission settings.
public final void setFileFormat(int value)
Gets or sets file format of signed document.
public final void setPermissions(Integer value)
The PDF document permissions such as printing, modification and data extraction.
public final void setPermissionsPassword(String value)
A permissions password (the primary password) requires a password to change permission settings.
Copyright © 2026. All rights reserved.