Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • SnapBarCode.TextAlignment Property

    Specifies the alignment of the bar code’s text.

    Namespace: DevExpress.Snap.Core.API

    Assembly: DevExpress.Snap.v21.2.Core.dll

    NuGet Package: DevExpress.Snap.Core

    Declaration

    TextAlignment TextAlignment { get; set; }

    Property Value

    Type Description
    TextAlignment

    A TextAlignment enumeration value.

    Available values:

    Show 12 items
    Name Description
    TopLeft

    The text is vertically aligned at the top, and horizontally aligned on the left.

    TopCenter

    The text is vertically aligned at the top, and horizontally aligned at the center.

    TopRight

    The text is vertically aligned at the top, and horizontally aligned on the right.

    MiddleLeft

    The text is vertically aligned in the middle, and horizontally aligned on the left.

    MiddleCenter

    The text is vertically aligned in the middle, and horizontally aligned at the center.

    MiddleRight

    The text is vertically aligned in the middle, and horizontally aligned on the right.

    BottomLeft

    The text is vertically aligned at the bottom, and horizontally aligned on the left.

    BottomCenter

    The text is vertically aligned at the bottom, and horizontally aligned at the center.

    BottomRight

    The text is vertically aligned at the bottom, and horizontally aligned on the right.

    TopJustify

    The text is vertically aligned at the top, and horizontally justified.

    This mode is ignored in Silverlight applications.

    MiddleJustify

    The text is vertically aligned in the middle, and horizontally justified.

    This mode is ignored in Silverlight applications.

    BottomJustify

    The text is vertically aligned at the bottom, and horizontally justified.

    This mode is ignored in Silverlight applications.

    See Also