SignatureField Constructor

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the Object class.

Namespace:  Apitron.PDF.Kit.Interactive.Forms
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public SignatureField(
	string fieldName,
	string toolTip = null
)

Parameters

fieldName
Type: SystemString
Name of the field.
toolTip (Optional)
Type: SystemString
An alternate field name that shall be used in place of the actual field name wherever the field shall be identified in the user interface (such as in error or status messages referring to the field). This text is also useful when extracting the document’s contents in support of accessibility to users with disabilities or for other purposes.
Examples

C#
SignatureField signatureField = new SignatureField("sig", "This is simple signature field");
fixedDocument.AcroForm.Fields.Add(signatureField);

SignatureFieldView signatureFieldView = new SignatureFieldView(signatureField, new Boundary(100, 500, 200, 530));
page.Annotations.Add(signatureFieldView);

signatureField.TextColor = new double[] { 1, 0, 0 };
signatureField.ViewColor = new double[] { 1, 0, 1 };
signatureField.BorderColor = new double[] { 0, 1, 1 };
signatureField.BorderStyle = new AnnotationBorderStyle(2, AnnotationBorderType.Inset);

signatureField.LockAction = LockAction.Include;
signatureField.LockFields.Add( "btn" );
See Also

Reference