Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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