# BarcodeFrame.Barcode Property

> Gets the barcode control associated with the barcode frame. It must be of the type TXTextControl.Barcode.TXBarcodeControl or TXTextControl.WPF.Barcode.TXBarcodeControl.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 19.0
- **Namespace:** `TXTextControl.DataVisualization`
- **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
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.DataVisualization > BarcodeFrame.Barcode Property
- **321 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-datavisualization/barcodeframe/barcode-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-datavisualization/barcodeframe/barcode-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-datavisualization/barcodeframe/barcode-property/llms-full.txt

---

### Description

Gets the barcode control associated with the barcode frame. It must be of the type `TXTextControl.Barcode.TXBarcodeControl` or `TXTextControl.WPF.Barcode.TXBarcodeControl`.

### Syntax

```csharp
public object Barcode { get; }
```

```vbnet
Public ReadOnly Property Barcode As Object
```

### Examples

The following example includes the barcode value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Barcode: {barcodeFrame.Barcode}");
Console.WriteLine("Barcode Frame is ready for use.");
```

```vbnet
Console.WriteLine($"Barcode: {barcodeFrame.Barcode}")
Console.WriteLine("Barcode Frame is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [BarcodeFrame.AddUndoUnit Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-datavisualization/barcodeframe/addundounit-method/llms-full.txt)
- **Next:** [BarcodeFrame Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-datavisualization/barcodeframe/constructor/llms-full.txt)
