Skip to main content
All docs
V26.1
  • BrickStringFormat.Create(TextAlignment, Boolean, DXStringTrimming, Boolean) Method

    Creates BrickStringFormat with the specified alignment, word wrapping, trimming, and text direction.

    Namespace: DevExpress.XtraPrinting

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

    NuGet Package: DevExpress.Printing.Core

    Declaration

    public static BrickStringFormat Create(
        TextAlignment textAlignment,
        bool wordWrap,
        DXStringTrimming trimming,
        bool rightToLeft = false
    )

    Parameters

    Name Type Description
    textAlignment TextAlignment

    The alignment applied to the text.

    wordWrap Boolean

    Specifies whether the text should wrap to the next line when it exceeds the available width.

    trimming DXStringTrimming

    The trimming behavior applied to text that exceeds the available layout area.

    Optional Parameters

    Name Type Default Description
    rightToLeft Boolean False

    Specifies whether the text should be placed from right to left.

    Returns

    Type Description
    BrickStringFormat

    A BrickStringFormat object initialized with the specified settings.

    See Also