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.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

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

Parameters

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.

Returns

Type Description
BrickStringFormat

A BrickStringFormat value.

See Also