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(int outputType)
Initializes a new instance of PdfSaveOptions class with specified output type.
|
PdfSaveOptions(int outputType,
boolean overwriteExistingFile)
Initializes a new instance of PdfSaveOptions class with specified output type and overwrite flag.
|
Modifier and Type | Method and Description |
---|---|
int |
getAsposeSaveFormat(int originalFileFormat) |
int |
getFileFormat()
Gets or sets file format of signed document.
|
static String |
getSaveFormatExtention(int saveFormat) |
void |
setFileFormat(int value)
Gets or sets file format of signed document.
|
String |
toString()
Override string conversion
|
getConsumption, getOutputFileName, getOutputType, getOverwriteExistingFiles, getPassword, getUploadMeteredSize, getUseOriginalPassword, onSaveDocument, onSaveDocument, setOutputFileName, setOutputType, setOverwriteExistingFiles, setPassword, setUploadMeteredSize, setUseOriginalPassword
public PdfSaveOptions()
Initializes a new instance of PdfSaveOptions class with default values.
public PdfSaveOptions(int outputType)
Initializes a new instance of PdfSaveOptions class with specified output type.
outputType
- Output type.public PdfSaveOptions(int outputType, boolean overwriteExistingFile)
Initializes a new instance of PdfSaveOptions class with specified output type and overwrite flag.
outputType
- Output type.overwriteExistingFile
- Flag whether to overwrite signed file with same file.public int getFileFormat()
Gets or sets file format of signed document.
public void setFileFormat(int value)
Gets or sets file format of signed document.
public int getAsposeSaveFormat(int originalFileFormat)
public static String getSaveFormatExtention(int saveFormat)
Copyright © 2017. All rights reserved.