UpperTextLength 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 maximum number of characters the Text property can get.
Syntax
public int UpperTextLength { get; set; }Public Property UpperTextLength As IntegerExamples
The following example uses TXBarcodeControl.UpperTextLength to configure upper text length as part of the txbarcode control workflow. The change is then applied to the active document or user interface.
tXBarcodeControl.UpperTextLength = 1;
tXBarcodeControl.Update();tXBarcodeControl.UpperTextLength = 1
tXBarcodeControl.Update()Remarks
Throws an ArgumentException, if the value is not valid for the conditions of the current barcode type.