# SignatureFieldCollection Class

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

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 31.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Inherits:** `TXTextControl.FrameBaseCollection`
- **Implements:** `System.Collections.ICollection`, `System.Collections.IEnumerable`
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > SignatureFieldCollection Class
- **1209 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/signaturefieldcollection/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/signaturefieldcollection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/signaturefieldcollection/llms-full.txt

---

### Description

An instance of the SignatureFieldCollection class contains all signature fields in a Text Control document represented through objects of the type [SignatureField](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/signaturefield/llms-full.txt). An instance of this class can be obtained with the [TextControl.SignatureFields](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/signaturefields-property/llms-full.txt), [WPF.TextControl.SignatureFields](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/signaturefields-property/llms-full.txt) and [ServerTextControl.SignatureFields](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/servertextcontrol/signaturefields-property/llms-full.txt) property. The SignatureFieldCollection class implements the IEnumerable and the ICollection interfaces.

### Syntax

```csharp
public sealed class SignatureFieldCollection : FrameBaseCollection
```

```vbnet
Public NotInheritable Class SignatureFieldCollection
    Inherits FrameBaseCollection
```

### Examples

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

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

```vbnet
Dim signatureFieldCollection As SignatureFieldCollection = textControl.SignatureFields
signatureFieldCollection.Add(New SignatureField(New System.Drawing.Size(3000, 1000), "ApproverSignature", 100), FrameInsertionMode.AsCharacter)
```

---

## In This Section

- [SignatureFieldCollection.Add Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/signaturefieldcollection/add-method/llms-full.txt): Inserts a new signature field in a Text Control document.
- [SignatureFieldCollection.CopyTo Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/signaturefieldcollection/copyto-method/llms-full.txt): Copies the elements of the collection to an array, starting at a particular index.
- [SignatureFieldCollection.GetItem Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/signaturefieldcollection/getitem-method/llms-full.txt): Gets a particular signature field from the collection.
- [SignatureFieldCollection.Remove Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/signaturefieldcollection/remove-method/llms-full.txt): Removes a signature field from a Text Control document.

---

## Nearby

- **Previous:** [SignatureField.SignerData Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/signaturefield/signerdata-property/llms-full.txt)
- **Next:** [SignatureFieldCollection.Add Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/signaturefieldcollection/add-method/llms-full.txt)
