Skip to main content

BrickStringFormat.Create(TextAlignment, Boolean, StringTrimming, Boolean) Method

Creates a BrickStringFormat instance with the specified settings.

Namespace: DevExpress.XtraPrinting

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


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


Name Type Description
textAlignment TextAlignment

A TextAlignment enumeration value.

wordWrap Boolean

true, to use the word wrap feature; otherwise false.

trimming StringTrimming

A StringTrimming enumeration value.

Optional Parameters

Name Type Default Description
rightToLeft Boolean False

true, to use the right-to-left text orientation; otherwise false.


Type Description

A BrickStringFormat value.

See Also