Skip to main content
All docs
V25.1
  • DXStringFormat.LineAlignment Property

    Gets or sets the string’s vertical alignment.’

    Namespace: DevExpress.Drawing

    Assembly: DevExpress.Drawing.v25.1.dll

    NuGet Package: DevExpress.Drawing

    Declaration

    public DXStringAlignment LineAlignment { get; set; }

    Property Value

    Type Description
    DXStringAlignment

    An enumeration value that indicates the vertical line alignment.

    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