A newer version of this page is available. Switch to the current version.

XRBarCode.TextAlignment Property

Gets or sets the barcode's text alignment.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.2.dll


public override TextAlignment TextAlignment { get; set; }
Public Overrides Property TextAlignment As TextAlignment

Property Value

Type Default Description


A TextAlignment enumeration value that specifies how the text is aligned within the barcode.


The TextAlignment property specifies the control's XRControl.Text alignment within the barcode, while the text font is specified by the XRControl.Font property. Note that the TextAlignment property is overridden in the XRBarCode class, to change its default value.

If the TextAlignment property's value is not set for the current bar code control, its value is obtained from its parent, or a parent of its parent and so on. For more information on this concept, please refer to Appearance Properties.

See Also