# TXBarcodeCore Class

> The TXBarcodeCore class provides properties and methods to specify type and format of barcodes provided as a Scalable Vector Graphics (SVG). The class implements the System.ComponentModel.INotifyPropertyChanged interface. Before an instance of the TXBarcodeCore class can be used, it must be initialized by calling the Create method. Changes to the barcode that require updating the view can be listend via the ViewChanged event. The following describes only the properties defined through the TXBarcodeCore class. For a list of properties, methods and events inherited from the System.ComponentModel.INotifyPropertyChanged interface see the .NET Framework reference.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 33.0
- **Namespace:** `TXTextControl.Barcode`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXBarcode.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXBarcode.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXBarcode.dll` from the setup
- **Implements:** `System.ComponentModel.INotifyPropertyChanged`
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Barcode > TXBarcodeCore Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/#members)

---

## In This Section

- [TXBarcodeCore.AdditionalText Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/additionaltext-property/llms.txt): Gets or sets an additional text that is displayed below or above the barcode image.
- [TXBarcodeCore.Alignment Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/alignment-property/llms.txt): Gets or sets the alignment of the barcode image inside the control. The default value is TXTextControl.Barcode.Alignment.MiddleCenter.
- [TXBarcodeCore.Angle Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/angle-property/llms.txt): Gets or sets the angle of the barcode image inside the control. The default value is 0.
- [TXBarcodeCore.BackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/backcolor-property/llms.txt): Gets or sets the background color for the barcode control. The default color is System.Drawing.SystemColors.Window.
- [TXBarcodeCore.BarcodeType Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/barcodetype-property/llms.txt): Gets or sets the type of barcode that is rendered.
- [TXBarcodeCore.BarcodeTypeSettings Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/barcodetypesettings-property/llms.txt): Gets an object of type BarcodeTypeSettings to determine type specific settings for the current used barcode.
- [TXBarcodeCore Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/constructor/llms.txt): Initializes a new instance of the TXBarcodeCore class.
- [TXBarcodeCore.Create Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/create-method/llms.txt): Initializes the resources of a newly instantiated TXBarcodeCore object. This method must be called before using the object.
- [TXBarcodeCore.ForeColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/forecolor-property/llms.txt): Gets or sets the foreground color for the barcode. The default color is System.Drawing.SystemColors.WindowText.
- [TXBarcodeCore.GetDefaultText Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/getdefaulttext-method/llms.txt): Returns the default text for the specified barcode type.
- [TXBarcodeCore.GetMaximumTextLength Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/getmaximumtextlength-method/llms.txt): Returns the maximum text length of the specified barcode type.
- [TXBarcodeCore.GetMinimumTextLength Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/getminimumtextlength-method/llms.txt): Returns the minimum text length of the specified barcode type.
- [TXBarcodeCore.GetSVG Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/getsvg-method/llms.txt): Creates and returns a string representing a Scalable Vector Graphics (SVG) of the barcode.
- [TXBarcodeCore.IsTextValid Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/istextvalid-method/llms.txt): Returns a value indicating whether the specified text is valid for a specific barcode type. In case of an invalid text, an exception message is saved into the specified string.
- [TXBarcodeCore.Load Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/load-method/llms.txt): Loads barcode data into the control.
- [TXBarcodeCore.Save Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/save-method/llms.txt): Saves the barcode data.
- [TXBarcodeCore.ShowText Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/showtext-property/llms.txt): Gets or sets a value indicating whether the encrypted barcode text value is displayed below or above the barcode image or not. The default value is true.
- [TXBarcodeCore.Size Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/size-property/llms.txt): Gets or sets the size of the barcode.
- [TXBarcodeCore.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/text-property/llms.txt): Gets or sets the text the barcode should encrypt.
- [TXBarcodeCore.TextAlignment Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/textalignment-property/llms.txt): Gets or sets a value indicating whether the barcode text and additional text is displayed below or above the barcode image. The default value is Bottom.
- [TXBarcodeCore.UpperTextLength Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/uppertextlength-property/llms.txt): Gets or sets the maximum number of characters the Text property can get.
- [TXBarcodeCore.ViewChanged Event](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/viewchanged-event/llms.txt): Occurs when changes to the barcode settings require updating the barcode view.

---

## Nearby

- **Previous:** [TextAlignment Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/textalignment/enumeration/llms.txt)
- **Next:** [TXBarcodeCore.AdditionalText Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-barcode/txbarcodecore/additionaltext-property/llms.txt)
