TX Text Control .NET for Windows Forms

SignatureFieldCollection Class

Class|Introduced in 31.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Inherits
  1. FrameBaseCollection
  2. SignatureFieldCollection
Implements
ICollection, IEnumerable

Description

An instance of the SignatureFieldCollection class contains all signature fields in a Text Control document represented through objects of the type SignatureField. An instance of this class can be obtained with the TextControl.SignatureFields, WPF.TextControl.SignatureFields and ServerTextControl.SignatureFields property. The SignatureFieldCollection class implements the IEnumerable and the ICollection interfaces.

Syntax

public sealed class SignatureFieldCollection : FrameBaseCollection

Examples

The following example works with signature fields in the current document.

SignatureFieldCollection signatureFieldCollection = textControl.SignatureFields;
signatureFieldCollection.Add(new SignatureField(new System.Drawing.Size(3000, 1000), "ApproverSignature", 100), FrameInsertionMode.AsCharacter);

Members

Properties

PropertyDescription
CountGets the number of elements contained in the collection. (Inherited from FrameBaseCollection.)
IsSynchronizedReturns true if the collection is designed to be thread safe, otherwise, it returns false. (Inherited from FrameBaseCollection.)
SyncRootGets an object that can be used to synchronize access to the collection. (Inherited from FrameBaseCollection.)

Methods

MethodDescription
AddInserts a new signature field in a Text Control document.
ClearRemoves all objects from the collection and from the document. (Inherited from FrameBaseCollection.)
CopyToCopies the elements of the collection to an array, starting at a particular index.
GetEnumeratorReturns an enumerator that can be used to iterate through the collection. (Inherited from FrameBaseCollection.)
GetItemGets a particular signature field from the collection.
RemoveRemoves a signature field from a Text Control document.