# BarcodeFrame.ExportFileName Property

> Gets or sets the file name, when the barcode's image is exported. An empty string indicates that no export filename has currently be specified for the barcode's image. In this case a constructed filename is used. A filename is constructed in the following form: <document_filename>_<number>.<extension>. The technical article Loading and Saving Images describes where newly created image files are stored.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 19.0
- **Namespace:** `TXTextControl.DataVisualization`
- **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.DataVisualization > BarcodeFrame.ExportFileName Property
- **334 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-datavisualization/barcodeframe/exportfilename-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-datavisualization/barcodeframe/exportfilename-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-datavisualization/barcodeframe/exportfilename-property/llms-full.txt

---

### Description

Gets or sets the file name, when the barcode's image is exported. An empty string indicates that no export filename has currently be specified for the barcode's image. In this case a constructed filename is used. A filename is constructed in the following form: <document\_filename>\_<number>.<extension>. The technical article Loading and Saving Images describes where newly created image files are stored.

### Syntax

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

```vbnet
Public Property ExportFileName As String
```

### Examples

The following example uses `BarcodeFrame.ExportFileName` to choose where the barcode frame is exported. The change is then applied to the active document or user interface.

```csharp
barcodeFrame.ExportFileName = "document.docx";
barcodeFrame.Refresh();
```

```vbnet
barcodeFrame.ExportFileName = "document.docx"
barcodeFrame.Refresh()
```

---

## Nearby

- **Previous:** [BarcodeFrame.ExportCompressionQuality Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-datavisualization/barcodeframe/exportcompressionquality-property/llms-full.txt)
- **Next:** [BarcodeFrame.ExportFilterIndex Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-datavisualization/barcodeframe/exportfilterindex-property/llms-full.txt)
