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

BarCodeControl.HorizontalAlignment Property

Gets or sets the bar code's horizontal alignment.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

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

Property Value

Type Default Description
HorzAlignment

Near

A HorzAlignment enumeration value that specifies the bar code'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