TX Text Control .NET for WPF

SignatureFieldCreated Event

Event|Introduced in 31.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Occurs when a new signature field has been created. It occurs if a signature field has been inserted in the document with the clipboard or if a file containing signature fields has been loaded. It does not occur if a signature field has been added with the SignatureFieldCollection.Add method. The event handler receives an argument of type SignatureFieldEventArgs containing data related to this event.

Syntax

public event SignatureFieldEventHandler SignatureFieldCreated;

Examples

The following example records useful context when signature field created occurs.

textControl.SignatureFieldCreated += (sender, e) =>
{
    Console.WriteLine($"Signature Field Created at {DateTime.Now:u}");
};