SignerData Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public Property SignerData As SignerDataExamples
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.");
}Dim signatureField As New SignatureField(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 IsNot Nothing Then
Console.WriteLine("Signature Field: Signer Data is available.")
End If