SignatureField Constructor
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Initializes a new instance of the SignatureField class. A name is necessary when the signature field is associated with a digital certificate.
Syntax
public SignatureField(Size size, string name, int id);Public Sub New(size As Size, name As String, id As Integer)Parameters
| Parameter | Description |
|---|---|
| size | Specifies the signature field's size in twips. |
| name | Specifies the signature field's name. It can be an empty string, when a name is not needed. |
| id | Specifies the signature field's user-defined id. It can be zero, when an id is not needed. |
Examples
The following example adds a named signature field to the document.
SignatureField signatureField = new(new System.Drawing.Size(3000, 1000), "ApproverSignature", 10);
textControl.SignatureFields.Add(signatureField, FrameInsertionMode.AsCharacter);Dim signatureField As New SignatureField(New System.Drawing.Size(3000, 1000), "ApproverSignature", 10)
textControl.SignatureFields.Add(signatureField, FrameInsertionMode.AsCharacter)