Skip to main content

TextBrick.HorzAlignment Property

Gets or sets the horizontal alignment of the text.

Namespace: DevExpress.XtraPrinting

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

Declaration

public HorzAlignment HorzAlignment { get; set; }

Property Value

Type Description
HorzAlignment

A HorzAlignment value that specifies the horizontal alignment of the text.

Available values:

Name Description
Default

Places an object or text at the default position, which is determined by a control.

Near

Places an object/text at a near position.

Center

Centers an object or text within a region.

Far

Places an object/text at a far position.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HorzAlignment 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