Signature Class
Represents main class that controls document signing process.
Inheritance Hierarchy
SystemObject
  GroupDocs.SignatureSignature

Namespace: GroupDocs.Signature
Assembly: GroupDocs.Signature (in GroupDocs.Signature.dll) Version: 22.8.0.0 (22.8)
Syntax
public class Signature : IDisposable

The Signature type exposes the following members.

Constructors
  NameDescription
Public methodSignature(Stream)
Initializes new instance of Signature class with document provided by stream.
Public methodSignature(String)
Initializes new instance of Signature class instance with document provided by file path.
Public methodSignature(Stream, LoadOptions)
Initializes new instance of Signature class with document provided by stream and load options LoadOptions.
Public methodSignature(Stream, SignatureSettings)
Initializes new instance of Signature class instance with document provided by stream and SignatureSettings.
Public methodSignature(String, LoadOptions)
Initializes new instance of Signature class instance with document provided by file path and LoadOptions.
Public methodSignature(String, SignatureSettings)
Initializes new instance of Signature class instance with document provided by file path and SignatureSettings.
Public methodSignature(Stream, LoadOptions, SignatureSettings)
Initializes new instance of Signature class instance with document provided by stream, load options LoadOptions and settings SignatureSettings.
Public methodSignature(String, LoadOptions, SignatureSettings)
Initializes new instance of Signature class instance with document provided by file path, LoadOptions and SignatureSettings.
Methods
  NameDescription
Public methodDelete(ListString)
Deletes passed list of signatures BaseSignature from the document.
Public methodDelete(String)
Deletes signature by its specific signature Id from the document.
Public methodDelete(BaseSignature)
Deletes passed signature BaseSignature from the document.
Public methodDelete(ListBaseSignature)
Deletes passed list of signatures BaseSignature from the document.
Public methodDelete(SignatureType)
Deletes signatures of the certain type SignatureType from the document. Only signatures that were added by Sign method and marked as Signatures IsSignature will be removed. Following signature types are supported: Text, Image, Digital, Barcode, QR-Code
Public methodDelete(ListSignatureType)
Deletes the signatures of the certain types list SignatureType from the document. Only signatures that were added by Sign method and marked as Signatures IsSignature will be removed. Following signature types are supported: Text, Image, Digital, Barcode, QR-Code
Public methodDispose
Implement IDisposable interface to clean up internal resources
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGeneratePreview
Generates document pages preview.
Public methodStatic memberGenerateSignaturePreview
Generates Signature preview based on given SignOptions. SignOptions
Public methodGetDocumentInfo
Gets information about document pages: their sizes, maximum page height, the width of a page with the maximum height.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSearch(ListSearchOptions)
Searches for signatures in a document by SearchOptions list.
Public methodSearch(SignatureType)
Searches for specified signature types in the document by SignatureType value.
Public methodSearchT(SearchOptions)
Searches for signatures in a document by SearchOptions options.
Public methodSearchT(SignatureType)
Searches for exact type of signatures in the document by SignatureType value.
Public methodSign(Stream, SignOptions)
Signs document with SignOptions and saves result to a stream.
Public methodSign(Stream, ListSignOptions)
Signs document with collection of SignOptions and saves result to a stream.
Public methodSign(String, SignOptions)
Signs document with SignOptions and saves result to specified file path.
Public methodSign(String, ListSignOptions)
Signs document with collection of SignOptions and saves result to specified file path.
Public methodSign(Stream, SignOptions, SaveOptions)
Signs document with SignOptions and saves result to a stream with predefined SaveOptions.
Public methodSign(Stream, ListSignOptions, SaveOptions)
Signs document with collection of SignOptions and saves result to a stream with predefined SaveOptions.
Public methodSign(String, SignOptions, SaveOptions)
Signs document with SignOptions and saves result to specified file path with predefined SaveOptions.
Public methodSign(String, ListSignOptions, SaveOptions)
Signs document with collection of SignOptions and saves result to specified file path with predefined SaveOptions.
Public methodToString (Inherited from Object.)
Public methodUpdate(BaseSignature)
Updates passed signature BaseSignature in the document.
Public methodUpdate(ListBaseSignature)
Updates passed signatures BaseSignature in the document.
Public methodVerify(VerifyOptions)
Verifies the document signatures with given VerifyOptions data.
Public methodVerify(ListVerifyOptions)
Verifies the document signatures with list of VerifyOptions data.
Events
  NameDescription
Public eventSearchCompleted
Occurs when signature search process completed.
Public eventSearchProgress
Occurs when signature search process progress changed.
Public eventSearchStarted
Occurs when signature search process started.
Public eventSignCompleted
Occurs when document signing process completed.
Public eventSignProgress
Occurs when document signing process progress changed.
Public eventSignStarted
Occurs when document signing process started.
Public eventVerifyCompleted
Occurs when signature verification process completed.
Public eventVerifyProgress
Occurs when signature verification process progress changed.
Public eventVerifyStarted
Occurs when signature verification process started.
Remarks
Learn more
See Also