Back to Devexpress

XlVerticalAlignment Enum

corelibraries-devexpress-dot-export-dot-xl-53b0f597.md

latest1.7 KB
Original Source

XlVerticalAlignment Enum

Lists values used to specify the vertical alignment of the cell content.

Namespace : DevExpress.Export.Xl

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public enum XlVerticalAlignment
vb
Public Enum XlVerticalAlignment

Members

NameDescription
Top

The cell content is vertically aligned at the top.

| | Center |

The cell content is centered vertically.

| | Bottom |

The cell content is vertically aligned at the bottom.

| | Justify |

The cell content is vertically justified.

| | Distributed |

The text is vertically distributed across the cell height.

|

The following properties accept/return XlVerticalAlignment values:

Remarks

The values listed by this enumeration are used by the XlCellAlignment.VerticalAlignment property.

For details on how to align data in a cell, see the How to: Align Cell Content topic.

See Also

Use the Excel Export API to Align Cell Content

DevExpress.Export.Xl Namespace