BarcodeType Property
- Namespace
TXTextControl.Barcode
- Package
TXTextControl.asTextControl. WinForms. SDK TXBarcode.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the type of barcode that is rendered.
Syntax
public BarcodeType BarcodeType { get; set; }Public Property BarcodeType As BarcodeTypeExamples
The following example uses TXBarcodeControl.BarcodeType to configure barcode type as part of the txbarcode control workflow. The change is then applied to the active document or user interface.
tXBarcodeControl.BarcodeType = TXTextControl.Barcode.BarcodeType.QRCode;
tXBarcodeControl.Update();tXBarcodeControl.BarcodeType = TXTextControl.Barcode.BarcodeType.QRCode
tXBarcodeControl.Update()Remarks
On changing this property all control settings are retained, if they are valid for the conditions of the new barcode type. Otherwise, the Text and UpperTextLength properties are reset to the default values of the new barcode type.