TX Text Control .NET Server

SignerData Constructor

Constructor|Introduced in 31.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Initializes a new instance of the SignerData class. Each of the specified parts of information can be set to null or an empty string, if not needed.

Syntax

public SignerData(string name, string title, string address, string contactInfo, string reason);

Parameters

ParameterDescription
name

Specifies the name of a suggested signer.

title

Specifies the title of a suggested signer.

address

Specifies the address of a suggested signer.

contactInfo

Specifies contact information of a suggested signer.

reason

Specifies a reason why the document is signed.

Examples

The following example adds signer identity and intent to a visible approval field.

SignerData signerData = new("Alex Smith", "Approver", "100 Main Street", "alex@example.com", "Document approved");
SignatureField approval = new(new System.Drawing.Size(3000, 1000), "ApproverSignature", 10) { SignerData = signerData };
textControl.SignatureFields.Add(approval, FrameInsertionMode.AsCharacter);