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

BarCodeControl.HorizontalTextAlignment Property

Gets or sets the text's horizontal alignment.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(HorzAlignment.Near)]
[DXCategory("Appearance")]
public HorzAlignment HorizontalTextAlignment { get; set; }

Property Value

Type Default Description
HorzAlignment

Near

A HorzAlignment enumeration value that specifies the text's horizontal alignment.

Available values:

Name Description
Default

Places an object or text at the default position, which is determined by a control.

Near

Places an object/text at a near position.

Center

Centers an object or text within a region.

Far

Places an object/text at a far position.

See Also