TX Text Control .NET for WPF

SignerData Property

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

Description

Gets or sets a suggested signer's name, title and address and a reason why to sign the document. The property's value is an object of the type SignerData.

Syntax

public SignerData SignerData { get; set; }

Examples

The following example adds a named signature field to the document by using SignatureField.SignerData.

SignatureField signatureField = new(new System.Drawing.Size(3000, 1000), "ApproverSignature", 10);
textControl.SignatureFields.Add(signatureField, FrameInsertionMode.AsCharacter);

signatureField.SignerData = new TXTextControl.SignerData("Alex Smith", "Approver", "100 Main Street", "alex@example.com", "Document approved");
if (signatureField.SignerData != null)
{
    Console.WriteLine("Signature Field: Signer Data is available.");
}