Document.Signatures Property (2007 System)

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

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Signatures As SignatureSet
'Usage
Dim instance As Document 
Dim value As SignatureSet 

value = instance.Signatures
[BrowsableAttribute(false)]
public SignatureSet Signatures { get; }
[BrowsableAttribute(false)]
public:
property SignatureSet^ Signatures {
    SignatureSet^ get ();
}
public function get Signatures () : SignatureSet

Property Value

Type: SignatureSet
A SignatureSet that represents the digital signatures for the document.

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.

Examples

The following code example displays the Signatures dialog box, with which you can add a digital signature to the document.

This example is for a document-level customization.

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

.NET Framework Security

See Also

Reference

Document Class

Document Members

Microsoft.Office.Tools.Word Namespace