Skip to main content

XlFormattingObject.Alignment Property

Gets or sets text alignment, wrapping, rotation, best-fit and indentation options.

Namespace: DevExpress.Export

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

Declaration

public XlCellAlignment Alignment { get; set; }

Property Value

Type Description
XlCellAlignment

Options that define how text is aligned, wrapped, rotated, best-fit and indented.

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