Compartilhar via


DocumentBase.Signatures Property

Definition

Gets a SignatureSet that represents the digital signatures for the document.

public:
 property Microsoft::Office::Core::SignatureSet ^ Signatures { Microsoft::Office::Core::SignatureSet ^ get(); };
public Microsoft.Office.Core.SignatureSet Signatures { get; }
member this.Signatures : Microsoft.Office.Core.SignatureSet
Public ReadOnly Property Signatures As SignatureSet

Property Value

A SignatureSet that represents the digital signatures for the document.

Examples

The following code example displays the Signatures dialog box, with which you can add a digital signature to the document. To use this example, run it from the ThisDocument class in a document-level project.

private void DocumentSignatures()
{
    this.Signatures.Add();
}
Private Sub DocumentSignatures()
    Me.Signatures.Add()
End Sub 

Remarks

To digitally sign Microsoft Office Word documents and verify other signatures in them, you need the Microsoft CryptoAPI and a unique digital signature certificate. The CryptoAPI is installed with Microsoft Internet Explorer 4.01 and higher. You can obtain a digital signature certificate from a certification authority.

Applies to