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