Interface IElectronicSignatureStorage

Interface detailing the storage events used by the Electronic Signatures component.
You must either create your own implementation of the storage or use InMemoryElectronicSignatureStorage.
This implementation is then passed in to Controller. There you will find the relevant events and methods.
Internally, the Electronic Signatures Controller will call these methods whenever appropriate.

Namespace: PSPDFKit.Pdf.ElectronicSignatures
Assembly: PSPDFKit.dll
Syntax
public interface IElectronicSignatureStorage

Properties

InitialSignatures

Signatures in this list will appear when first opening the stored signatures UI.
It is useful for setting the signatures you want to appear by default in a document.
Note that this list is not updated automatically. Keeping it updated, however, is useful for keeping specific signatures between opening and closing documents, as newly opened documents will get their initial signatures from this list.

Declaration
IList<IAnnotation> InitialSignatures { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<IAnnotation>

Methods

OnSignatureCreated(IAnnotation)

Handler for the creation of ElectronicSignatures.
You must either create your own implementation of the storage or use InMemoryElectronicSignatureStorage.

Declaration
void OnSignatureCreated(IAnnotation signature)
Parameters
Type Name Description
IAnnotation signature

OnSignatureDeleted(IAnnotation)

Handler for the deletion of ElectronicSignatures.
You must either create your own implementation of the storage or use InMemoryElectronicSignatureStorage.

Declaration
void OnSignatureDeleted(IAnnotation signature)
Parameters
Type Name Description
IAnnotation signature