public class ImagesSaveOptions extends SaveOptions
Save options for Images Documents
Constructor and Description |
---|
ImagesSaveOptions()
Initializes a new instance of ImagesSaveOptions class with default values.
|
ImagesSaveOptions(int outputType)
Initializes a new instance of ImagesSaveOptions class with specified output type.
|
ImagesSaveOptions(int outputType,
boolean overwriteExistingFile)
Initializes a new instance of ImagesSaveOptions class with specified output type and overwrite flag.
|
ImagesSaveOptions(int outputType,
int fileFormat,
boolean overwriteExistingFile)
Initializes a new instance of ImagesSaveOptions class with specified output type and overwrite flag.
|
Modifier and Type | Method and Description |
---|---|
static com.aspose.imaging.ImageOptionsBase |
getAsposeSaveFormat(LoadOptions loadOptions,
SaveOptions saveOptions,
com.aspose.imaging.Image image) |
static String |
getFileExtension(LoadOptions loadOptions,
SaveOptions saveOptions) |
int |
getFileFormat()
Gets or sets file format of signed document.
|
String |
getPassword()
Gets or sets password to save signed document as protected.
|
boolean |
getUseOriginalPassword()
Gets or sets whether to use password from LoadOptions to save signed document as protected.
|
void |
setFileFormat(int value)
Gets or sets file format of signed document.
|
void |
setPassword(String value)
Gets or sets password to save signed document as protected.
|
void |
setUseOriginalPassword(boolean value)
Gets or sets whether to use password from LoadOptions to save signed document as protected.
|
String |
toString()
Override string conversion
|
getConsumption, getOutputFileName, getOutputType, getOverwriteExistingFiles, getUploadMeteredSize, onSaveDocument, onSaveDocument, setOutputFileName, setOutputType, setOverwriteExistingFiles, setUploadMeteredSize
public ImagesSaveOptions()
Initializes a new instance of ImagesSaveOptions class with default values.
public ImagesSaveOptions(int outputType)
Initializes a new instance of ImagesSaveOptions class with specified output type.
outputType
- Output type.public ImagesSaveOptions(int outputType, boolean overwriteExistingFile)
Initializes a new instance of ImagesSaveOptions class with specified output type and overwrite flag.
outputType
- Output type.overwriteExistingFile
- Flag whether to overwrite signed file with same file.public ImagesSaveOptions(int outputType, int fileFormat, boolean overwriteExistingFile)
Initializes a new instance of ImagesSaveOptions class with specified output type and overwrite flag.
outputType
- Output type.fileFormat
- Output file type ImagesSaveFileFormat
.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 String getPassword()
Gets or sets password to save signed document as protected. Hidden because not in use for this options class.
getPassword
in class SaveOptions
public void setPassword(String value)
Gets or sets password to save signed document as protected. Hidden because not in use for this options class.
setPassword
in class SaveOptions
public boolean getUseOriginalPassword()
Gets or sets whether to use password from LoadOptions to save signed document as protected. Hidden because not in use for this options class. Default value is true.
getUseOriginalPassword
in class SaveOptions
public void setUseOriginalPassword(boolean value)
Gets or sets whether to use password from LoadOptions to save signed document as protected. Hidden because not in use for this options class. Default value is true.
setUseOriginalPassword
in class SaveOptions
public static String getFileExtension(LoadOptions loadOptions, SaveOptions saveOptions)
public static com.aspose.imaging.ImageOptionsBase getAsposeSaveFormat(LoadOptions loadOptions, SaveOptions saveOptions, com.aspose.imaging.Image image)
Copyright © 2017. All rights reserved.