# BarcodeOptions Class

> BarcodeOptions class in the TX Sheet Control .NET API: Native barcode configuration for cell and floating symbols. Shown with a C# example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Server`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Derived:** `TXTextControl.TXSheetControl.Server.BarcodeDrawingOptions`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > BarcodeOptions Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/#syntax)
- [Remarks](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/#remarks)
- [Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/#constructor)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/#examples)

---

## In This Section

- [BarcodeOptions.Background Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/background-property/llms.txt): BarcodeOptions.Background property in the TX Sheet Control .NET API: Six-digit RGB color. Defaults to #ffffff. Shown with its type string? and a C# example.
- [BarcodeOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/constructor/llms.txt): BarcodeOptions constructor in the .NET API: Creates native barcode settings; Symbology defaults to code128 and optional settings are omitted from transport.
- [BarcodeOptions.ErrorCorrection Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/errorcorrection-property/llms.txt): BarcodeOptions.ErrorCorrection property in the TX Sheet Control .NET API: QR correction level. Defaults to M. Shown with its type string? and a C# example.
- [BarcodeOptions.Foreground Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/foreground-property/llms.txt): BarcodeOptions.Foreground property in the TX Sheet Control .NET API: Six-digit RGB color. Defaults to #000000. Shown with its type string? and a C# example.
- [BarcodeOptions.ShowText Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/showtext-property/llms.txt): BarcodeOptions.ShowText property in the TX Sheet Control .NET API: Human-readable caption for linear codes; defaults to true. QR codes always omit the caption.
- [BarcodeOptions.Source Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/source-property/llms.txt): BarcodeOptions.Source property in the .NET API: Cell reference or formula of up to 8192 characters, mutually exclusive with Value; it cannot be blank.
- [BarcodeOptions.Symbology Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/symbology-property/llms.txt): BarcodeOptions.Symbology property in the TX Sheet Control .NET API: Required format: code128, code39, ean13, ean8, upca, upce, itf, codabar or qrCode.
- [BarcodeOptions.Value Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/value-property/llms.txt): BarcodeOptions.Value property in the .NET API: Literal payload of up to 8192 characters, mutually exclusive with Source; omit both to read the cell.
- [BarcodeOptions.Version Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/version-property/llms.txt): BarcodeOptions.Version property in the TX Sheet Control .NET API: QR version 1–40. Omit to choose the smallest version that fits.

---

## Nearby

- **Previous:** [DashboardHighlight.Value Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/dashboardhighlight/value-property/llms.txt)
- **Next:** [BarcodeOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/barcodeoptions/constructor/llms.txt)
