# SaveSettings.ImageSavePath Property

> Sets a file path that is used to save resources like images when images are saved as file link. If this location does not exists it is generated.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 Windows Forms > Reference > TXTextControl > SaveSettings.ImageSavePath Property
- **584 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/savesettings/imagesavepath-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/savesettings/imagesavepath-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/savesettings/imagesavepath-property/llms-full.txt

---

### Description

Sets a file path that is used to save resources like images when images are saved as file link. If this location does not exists it is generated.

### Syntax

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

```vbnet
Public Property ImageSavePath As String
```

### Examples

The following example configures how the current document is exported to WordprocessingML by using `SaveSettings.ImageSavePath`.

```csharp
textControl.Text = "Quarterly results";
SaveSettings saveSettings = new();

saveSettings.ImageSavePath = "document.docx";
if (!string.IsNullOrWhiteSpace(saveSettings.ImageSavePath))
{
    Console.WriteLine($"Image Save Path: {saveSettings.ImageSavePath}");
}

textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings);
```

```vbnet
textControl.Text = "Quarterly results"
Dim saveSettings As New SaveSettings()

saveSettings.ImageSavePath = "document.docx"
If Not String.IsNullOrWhiteSpace(saveSettings.ImageSavePath) Then
    Console.WriteLine($"Image Save Path: {saveSettings.ImageSavePath}")
End If

textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings)
```

---

## Nearby

- **Previous:** [SaveSettings.ImageSaveMode Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/savesettings/imagesavemode-property/llms-full.txt)
- **Next:** [SaveSettings.LastModificationDate Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/savesettings/lastmodificationdate-property/llms-full.txt)
