TX Text Control .NET for WPF

SignatureField Constructor

Constructor|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

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);

Parameters

ParameterDescription
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);