com.groupdocs.signature.options.saveoptions

Class SaveOptions

    • Constructor Detail

      • SaveOptions

        public SaveOptions()

        Initializes a new instance of SaveOptions class with default values.

      • SaveOptions

        public SaveOptions(boolean overwriteExistingFile)

        Initializes a new instance of SaveOptions class with specified output type and overwrite flag.

        Parameters:
        overwriteExistingFile - Flag whether to overwrite signed file with same file.
    • Method Detail

      • 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.

      • 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.

      • getPassword

        public final String getPassword()

        Gets or sets password to save signed document with password protection. This property is not supported for Image documents.

      • 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.

      • setAddMissingExtenstion

        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.

      • setOverwriteExistingFiles

        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.

      • setPassword

        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.

      • setUseOriginalPassword

        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.