# SignatureField Constructor

> Initializes a new instance of the SignatureField class. A name is necessary when the signature field is associated with a digital certificate.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Constructor
- **Introduced:** 31.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > SignatureField Constructor
- **560 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/signaturefield/constructor/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/signaturefield/constructor/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/signaturefield/constructor/llms-full.txt

---

### Description

Initializes a new instance of the SignatureField class. A name is necessary when the signature field is associated with a digital certificate.

### Syntax

```csharp
public SignatureField(Size size, string name, int id);
```

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

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

```vbnet
Dim signatureField As New SignatureField(New System.Drawing.Size(3000, 1000), "ApproverSignature", 10)
textControl.SignatureFields.Add(signatureField, FrameInsertionMode.AsCharacter)
```

---

## Nearby

- **Previous:** [SignatureField Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/signaturefield/llms-full.txt)
- **Next:** [SignatureField.Image Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/signaturefield/image-property/llms-full.txt)
