Skip to main content
A newer version of this page is available. .

BarCodeControl.VerticalAlignment Property

Gets or sets the bar code’s vertical alignment.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(VertAlignment.Top)]
[DXCategory("Appearance")]
public VertAlignment VerticalAlignment { get; set; }

Property Value

Type Default Description
VertAlignment **Top**

A VertAlignment enumeration value that specifies the bar code’s vertical alignment.

Available values:

Name Description
Default

Places the text to its default position. The default position is in the center of an object.

Top

Places the text to the top of an object.

Center

Centers the text within an object.

Bottom

Places the text to the bottom of an object.

See Also