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

PageInfoBrick.Alignment Property

Gets or sets the alignment of brick within the page layout rectangle.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

[XtraSerializableProperty]
public BrickAlignment Alignment { get; set; }

Property Value

Type Description
BrickAlignment

A BrickAlignment enumeration, specifying the alignment.

Available values:

Name Description
None

Cancels brick alignment.

Near

Specifies that the text shall be aligned near the layout. In a left-to-right layout, the near position is left. In a right-to-left layout, the near position is right.

Center

Specifies whether a brick is aligned by the center of the layout rectangle.

Far

Specifies whether a brick is aligned away from the original position of the layout rectangle.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Alignment property.

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