BrickStringFormat.Create(TextAlignment, Boolean, StringTrimming) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.2.dll

Declaration

public static BrickStringFormat Create(
    TextAlignment textAlignment,
    bool wordWrap,
    StringTrimming trimming
)
Public Shared Function Create(
    textAlignment As TextAlignment,
    wordWrap As Boolean,
    trimming As StringTrimming
) As BrickStringFormat

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