[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISignatureSet

ISignatureSet Interface

A collection of ISignature objects that correspond to the digital signatures attached to a document.

An ISignatureSet provides access to the signatures in a workbook, including signature lines and non-visible signatures.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface ISignatureSet : IReadOnlyList<ISignature>, IReadOnlyCollection<ISignature>, IEnumerable<ISignature>, IEnumerable
Public Interface ISignatureSet
    Inherits IReadOnlyList(Of ISignature), IReadOnlyCollection(Of ISignature), IEnumerable(Of ISignature), IEnumerable
Examples
ISignatureSet signatures = workbook.Signatures;
ISignature signature = signatures.AddSignatureLine(worksheet, 100.0, 50.0);
ISignature firstSignature = signatures[0];
int count = signatures.Count;

Properties

Name Description
CanAddSignatureLine

Gets a Boolean value indicating whether you can add a signature line to a document. Read-only.

This property returns false if the workbook is already signed.

Parent

Returns the workbook that contains this ISignatureSet.

SkipCertificateValidationOnExporting

Gets or sets whether the validation of the attached digital certificate of the signed signature should be skipped when exporting signed signatures.

The default value is true. If certificate validation is skipped, the certificate is treated as valid. This is the default behavior. Otherwise, the certificate is validated with an X.509 chain.

Methods

Name Description
AddNonVisibleSignature()

Creates a signature packet when digitally signing a document.

Use this method to add a non-visible signature to the workbook's ISignatureSet. Unlike AddSignatureLine(IWorksheet, double, double, double, double), the returned signature is not associated with a visible signature line in a worksheet. The signature will be discarded if you save the workbook without signing it.

AddSignatureLine(IWorksheet, double, double, double, double)

Adds a signature line to a worksheet where signatures are collected.

Only the Microsoft Office signature line is supported. Other signature line providers, such as stamp signatures, are not supported.

After the signature line is created, you can use ISignatureSetup to specify signer information and signing instructions.