Skip to main content

PageInfoBrick.Alignment Property

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

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

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 snippets (auto-collected from DevExpress Examples) contain references 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