Modifica

Condividi tramite


Signatures.Create Method

Definition

Creates a new SignatureObject object.

public:
 Microsoft::Office::Interop::InfoPath::SignatureObject ^ Create();
public Microsoft.Office.Interop.InfoPath.SignatureObject Create ();
abstract member Create : unit -> Microsoft.Office.Interop.InfoPath.SignatureObject
Public Function Create () As SignatureObject

Returns

A SignatureObject object.

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.<span class="label">Create</span>();
  signature.Sign();
 }

Remarks

This method can be called only from the OnSignevent.

Applies to