SignerData Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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);Public Sub New(name As String, title As String, address As String, contactInfo As String, reason As String)Parameters
| Parameter | Description |
|---|---|
| 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);Dim signerData As New SignerData("Alex Smith", "Approver", "100 Main Street", "alex@example.com", "Document approved")
Dim approval As New SignatureField(New System.Drawing.Size(3000, 1000), "ApproverSignature", 10) With { .SignerData = signerData }
textControl.SignatureFields.Add(approval, FrameInsertionMode.AsCharacter)