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

    Get or sets the vertical 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 CodeTextVerticalAlignment { get; set; }

    Property Value

    Type Description
    DXStringAlignment

    The vertical 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 CodeTextVerticalAlignment
    BarcodeGenerator
    .Options .CodeTextVerticalAlignment
    See Also