com.groupdocs.signature.options.saveoptions

Class SaveOptions

    • Constructor Summary

      Constructors 
      Constructor and Description
      SaveOptions()
      Initializes a new instance of SaveOptions class with default values.
      SaveOptions(int outputType)
      Initializes a new instance of SaveOptions class with specified output type.
      SaveOptions(int outputType, boolean overwriteExistingFile)
      Initializes a new instance of SaveOptions class with specified output type and overwrite flag.
      SaveOptions(int outputType, String outputFileName)
      Initializes a new instance of SaveOptions class with specified output type and file name.
      SaveOptions(int outputType, String outputFileName, boolean overwriteExistingFile)
      Initializes a new instance of SaveOptions class with specified output type, file name and overwrite flag.
    • Constructor Detail

      • SaveOptions

        public SaveOptions()

        Initializes a new instance of SaveOptions class with default values.

      • SaveOptions

        public SaveOptions(int outputType)

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

        Parameters:
        outputType - Output type.
      • SaveOptions

        public SaveOptions(int outputType,
                   boolean overwriteExistingFile)

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

        Parameters:
        outputType - Output type.
        overwriteExistingFile - Flag whether to overwrite signed file with same file.
      • SaveOptions

        public SaveOptions(int outputType,
                   String outputFileName)

        Initializes a new instance of SaveOptions class with specified output type and file name.

        Parameters:
        outputType - Output type
        outputFileName - Output file name
      • SaveOptions

        public SaveOptions(int outputType,
                   String outputFileName,
                   boolean overwriteExistingFile)

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

        Parameters:
        outputType - Output type.
        outputFileName - Output file name.
        overwriteExistingFile - Flag whether to overwrite signed file with same file.
    • Method Detail

      • getOverwriteExistingFiles

        public boolean getOverwriteExistingFiles()

        Gets or sets whether to overwrite existing file with new output file. Otherwise new file will be created with number as suffix.

      • setOverwriteExistingFiles

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

      • getOutputType

        public int getOutputType()

        Result type of signed document - String or Stream. Default is Stream.

      • setOutputType

        public void setOutputType(int value)

        Result type of signed document - String or Stream. Default is Stream.

      • getOutputFileName

        public String getOutputFileName()

        Gets or sets file name of signed document.

      • setOutputFileName

        public void setOutputFileName(String value)

        Gets or sets file name of signed document.

      • getPassword

        public String getPassword()

        Gets or sets password to save signed document as protected.

      • setPassword

        public void setPassword(String value)

        Gets or sets password to save signed document as protected.

      • getUseOriginalPassword

        public boolean getUseOriginalPassword()

        Gets or sets whether to use password from LoadOptions to save signed document as protected. Default value is true.

      • setUseOriginalPassword

        public void setUseOriginalPassword(boolean value)

        Gets or sets whether to use password from LoadOptions to save signed document as protected. Default value is true.

      • getUploadMeteredSize

        public double getUploadMeteredSize()
      • setUploadMeteredSize

        public void setUploadMeteredSize(double value)
      • getConsumption

        public double getConsumption(com.aspose.ms.System.IO.Stream stream)
      • onSaveDocument

        public void onSaveDocument(com.aspose.ms.System.IO.Stream stream)
      • onSaveDocument

        public void onSaveDocument(double consumption)