[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISignatureSet

Interface ISignatureSet

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

A collection of Signature objects that correspond to the digital signature attached to a document.

public interface ISignatureSet : IReadOnlyList<ISignature>, IReadOnlyCollection<ISignature>, IEnumerable<ISignature>, IEnumerable
Inherited Members
System.Collections.Generic.IReadOnlyList<GrapeCity.Documents.Excel.ISignature>.this[int]
System.Collections.Generic.IReadOnlyCollection<GrapeCity.Documents.Excel.ISignature>.Count
System.Collections.Generic.IEnumerable<GrapeCity.Documents.Excel.ISignature>.GetEnumerator()

Properties

CanAddSignatureLine

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

bool CanAddSignatureLine { get; }

Property Value

bool

Parent

Returns the Parent object for the specified object.

IWorkbook Parent { get; }

Property Value

IWorkbook

SkipCertificateValidationOnExporting

Indicates 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 will be treated as valid. This is the default behavior.

Otherwise, the certificate will be validated with X.509 chain. The validation requires Internet connection and will read the X.509 certificate storage of the current user and local machine.

bool SkipCertificateValidationOnExporting { get; set; }

Property Value

bool

Methods

AddNonVisibleSignature()

Creates a signature packet when digitally signing a document. The signature will be discarded if you save the workbook without signing it.

ISignature AddNonVisibleSignature()

Returns

ISignature

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

Adds lines to a document where signatures are collected. Only the "Microsoft Office signature line" is supported. Other signature line providers, such as stamp signatures, are not supported.

ISignature AddSignatureLine(IWorksheet worksheet, double left, double top, double width = 192, double height = 100.5)

Parameters

worksheet IWorksheet

The worksheet that the signature line shape will be added to.

left double

The left of the signature line shape.

top double

The top of the signature line shape.

width double

The width of the signature line shape.

height double

The height of the signature line shape.

Returns

ISignature

The created signature.