Gets or sets flag to automatically add extension when it was missing in output file path Default value is false.
SaveOptions()
public SaveOptions()
Initializes a new instance of SaveOptions class with default values.
SaveOptions(boolean overwriteExistingFile)
public SaveOptions(boolean overwriteExistingFile)
Initializes a new instance of SaveOptions class with specified output type and overwrite flag.
Parameters:
Parameter
Type
Description
overwriteExistingFile
boolean
Flag whether to overwrite signed file with same file.
getOverwriteExistingFiles()
public final boolean getOverwriteExistingFiles()
Gets or sets whether to overwrite existing file with new output file. Otherwise new file will be created with number as suffix.
Returns:
boolean
setOverwriteExistingFiles(boolean value)
public final void setOverwriteExistingFiles(boolean value)
Gets or sets whether to overwrite existing file with new output file. Otherwise new file will be created with number as suffix.
Parameters:
Parameter
Type
Description
value
boolean
getPassword()
public final String getPassword()
Gets or sets password to save signed document with password protection. This property is not supported for Image documents.
Returns:
java.lang.String
setPassword(String value)
public final void setPassword(String value)
Gets or sets password to save signed document with password protection. This property is not supported for Image documents.
Parameters:
Parameter
Type
Description
value
java.lang.String
getUseOriginalPassword()
public final boolean getUseOriginalPassword()
Gets or sets whether to use password from LoadOptions to save signed document as protected. Default value is true. This property is not supported for Image documents.
Returns:
boolean
setUseOriginalPassword(boolean value)
public final void setUseOriginalPassword(boolean value)
Gets or sets whether to use password from LoadOptions to save signed document as protected. Default value is true. This property is not supported for Image documents.
Parameters:
Parameter
Type
Description
value
boolean
getAddMissingExtenstion()
public final boolean getAddMissingExtenstion()
Gets or sets flag to automatically add extension when it was missing in output file path Default value is false.
Returns:
boolean
setAddMissingExtenstion(boolean value)
public final void setAddMissingExtenstion(boolean value)
Gets or sets flag to automatically add extension when it was missing in output file path Default value is false.
Parameters:
Parameter
Type
Description
value
boolean
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.