Signature class

Signature class

Represents main class that controls document signing process.

The Signature type exposes the following members:

Constructors

Constructor Description
init Initializes new instance of Signature class with document provided by stream.
init Initializes new instance of Signature class with document provided by stream and load options Signature.LoadOptions.
init Initializes new instance of Signature class instance with document provided by stream and SignatureSettings.
init Initializes new instance of Signature class instance with document provided by stream, load options Signature.LoadOptions and settings SignatureSettings.
init Initializes new instance of Signature class instance with document provided by file path.
init Initializes new instance of Signature class instance with document provided by file path and Signature.LoadOptions.
init Initializes new instance of Signature class instance with document provided by file path and SignatureSettings.
init Initializes new instance of Signature class instance with document provided by file path, Signature.LoadOptions and SignatureSettings.

Methods

Method Description
sign Signs document with SignOptions and saves result to a stream.
sign Signs document with SignOptions and saves result to a stream with predefined SaveOptions.
sign
sign
sign Signs document with SignOptions and saves result to specified file path.
sign Signs document with SignOptions and saves result to specified file path with predefined SaveOptions.
sign
sign
verify Verifies the document signatures with given VerifyOptions data.
verify
search
search Searches for specified signature types in the document by SignatureType value.
update Updates passed signature BaseSignature in the document.
update
delete Deletes passed signature BaseSignature from the document.
delete
delete Deletes signatures of the certain type SignatureType from the document.

Only signatures that were added by Sign method and marked as Signatures BaseSignature.is_signature will be removed.

Following signature types are supported: Text, Image, Digital, Barcode, QR-Code
delete
delete Deletes signature by its specific signature Id from the document.
delete
get_document_info Gets information about document pages: their sizes,

maximum page height, the width of a page with the maximum height.
generate_preview Generates document pages preview.
generate_signature_preview Generates Signature preview based on given SignOptions. SignOptions

Remarks

Learn more | | |

See Also