Skip to main content
All docs
V26.1
  • BrickStringFormat.ChangeAlignment(DXStringAlignment, DXStringAlignment) Method

    Changes the horizontal and vertical alignment of BrickStringFormat.

    Namespace: DevExpress.XtraPrinting

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

    NuGet Package: DevExpress.Printing.Core

    Declaration

    public BrickStringFormat ChangeAlignment(
        DXStringAlignment newAlignment,
        DXStringAlignment newLineAlignment
    )

    Parameters

    Name Type Description
    newAlignment DXStringAlignment

    The new alignment to apply to the text.

    newLineAlignment DXStringAlignment

    The new line alignment to apply to the text.

    Returns

    Type Description
    BrickStringFormat

    A BrickStringFormat object with the updated alignment settings.

    See Also