Share via


Signatures.Create Method

Creates a new SignatureObject object.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Function Create As SignatureObject
'Usage
Dim instance As Signatures
Dim returnValue As SignatureObject

returnValue = instance.Create()
SignatureObject Create()

Return Value

Type: Microsoft.Office.Interop.InfoPath.SignatureObject
A SignatureObject object.

Remarks

This method can be called only from the OnSignevent.

Examples

In the following example, a Signature object is added to SignaturesCollection collection of the form

public void OnSign(SignEvent e)
 {
  Signature signature = e.SignedDataBlock.Signatures.Create();
  signature.Sign();
 }

See Also

Reference

Signatures Interface

Signatures Members

Microsoft.Office.Interop.InfoPath Namespace