Signatures.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.