BrickStringFormat.Create(TextAlignment, Boolean) Method
Creates a new instance of the BrickStringFormat class with the specified settings.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public static BrickStringFormat Create(
TextAlignment textAlignment,
bool wordWrap
)
#Parameters
Name | Type | Description |
---|---|---|
text |
Text |
A Text |
word |
Boolean | true to enable word-wrapping; otherwise, false. |
#Returns
Type | Description |
---|---|
Brick |
A new Brick |
#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.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.