Text 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 text the barcode should encrypt.
Syntax
public string Text { get; set; }Public Property Text As StringExamples
The following example uses TXBarcodeControl.Text to replace the txbarcode control's displayed content. The change is then applied to the active document or user interface.
tXBarcodeControl.Text = "Quarterly results";
tXBarcodeControl.Update();tXBarcodeControl.Text = "Quarterly results"
tXBarcodeControl.Update()Remarks
Throws an ArgumentException, if the value is not valid for the conditions of the current barcode type.