# SignatureImage.FileName Property

> Gets or sets the corresponding file name and path from which the image has been loaded.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **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 > SignatureImage.FileName Property
- **727 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/signatureimage/filename-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/signatureimage/filename-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/signatureimage/filename-property/llms-full.txt

---

### Description

Gets or sets the corresponding file name and path from which the image has been loaded.

### Syntax

```csharp
public string FileName { get; set; }
```

```vbnet
Public Property FileName As String
```

### Examples

The following example adds a visible handwritten-signature image to an approval field by using `SignatureImage.FileName`.

```csharp
SignatureImage signatureImage = new(@"Images\alex-smith-signature.svg", 0);
SignatureField approval = new(new System.Drawing.Size(3000, 1000), "ApproverSignature", 10) { Image = signatureImage };
textControl.SignatureFields.Add(approval, FrameInsertionMode.AsCharacter);

signatureImage.FileName = @"Images\alex-smith-signature.svg";
if (!string.IsNullOrWhiteSpace(signatureImage.FileName))
{
    Console.WriteLine($"File Name: {signatureImage.FileName}");
}
```

```vbnet
Dim signatureImage As New SignatureImage("Images\alex-smith-signature.svg", 0)
Dim approval As New SignatureField(New System.Drawing.Size(3000, 1000), "ApproverSignature", 10) With { .Image = signatureImage }
textControl.SignatureFields.Add(approval, FrameInsertionMode.AsCharacter)

signatureImage.FileName = "Images\alex-smith-signature.svg"
If Not String.IsNullOrWhiteSpace(signatureImage.FileName) Then
    Console.WriteLine($"File Name: {signatureImage.FileName}")
End If
```

---

## Nearby

- **Previous:** [SignatureImage.ExportMaxResolution Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/signatureimage/exportmaxresolution-property/llms-full.txt)
- **Next:** [SignatureImage.FilterIndex Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/signatureimage/filterindex-property/llms-full.txt)
