Skip to main content

BarCode.CodeTextHorizontalAlignment Property

Get or sets the horizontal alignment of the bar code text within the bar code image.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public DXStringAlignment CodeTextHorizontalAlignment { get; set; }

Property Value

Type Description
DXStringAlignment

An enumeration value that indicates the horizontal alignment type.

Available values:

Name Description
Near

The text is aligned near the layout.

Center

Text is aligned in the center of the layout rectangle.

Far

The text is aligned far from the original position of the layout rectangle.

See Also