BrickStringFormat.Create(TextAlignment, Boolean) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v21.2.dll

Declaration

public static BrickStringFormat Create(
    TextAlignment textAlignment,
    bool wordWrap
)

Parameters

Name Type Description
textAlignment TextAlignment

A TextAlignment enumeration value.

wordWrap Boolean

true to enable word-wrapping; otherwise, false.

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Create(TextAlignment, Boolean) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also