Skip to main content
A newer version of this page is available.

BrickStringFormat.Create(TextAlignment, Boolean, StringTrimming) Method

Creates a new instance of the BrickStringFormat class with the specified settings.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v18.2.dll

Declaration

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

Parameters

Name Type Description
textAlignment TextAlignment

A TextAlignment enumeration value.

wordWrap Boolean

true to enable word-wrapping; otherwise, false.

trimming StringTrimming

A StringTrimming enumeration value.

Returns

Type Description
BrickStringFormat

A new BrickStringFormat instance with the specified values.

Remarks

To create a new instance of the BrickStringFormat class with the specified format flags, use the overloaded BrickStringFormat.Create method with the formatFlags parameter.

See Also