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

Creates a BrickStringFormat instance with the specified settings.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v20.2.dll

Declaration

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

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.

rightToLeft Boolean

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

Returns

Type Description
BrickStringFormat

A BrickStringFormat value.

See Also