TextAlignment 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 a value indicating whether the barcode text and additional text is displayed below or above the barcode image. The default value is Bottom.
Syntax
public TextAlignment TextAlignment { get; set; }Public Property TextAlignment As TextAlignmentExamples
The following example uses TXBarcodeControl.TextAlignment to configure text alignment as part of the txbarcode control workflow. The change is then applied to the active document or user interface.
tXBarcodeControl.TextAlignment = TXTextControl.Barcode.TextAlignment.Bottom;
tXBarcodeControl.Update();tXBarcodeControl.TextAlignment = TXTextControl.Barcode.TextAlignment.Bottom
tXBarcodeControl.Update()