Skip to main content
All docs
V26.1
  • BarcodeOptions.CodeTextHorizontalAlignment Property

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

    Namespace: DevExpress.Docs.Barcode

    Assembly: DevExpress.Docs.Core.v26.1.dll

    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.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to CodeTextHorizontalAlignment
    BarcodeGenerator
    .Options .CodeTextHorizontalAlignment
    See Also