Specifies the vertical alignment of content within cells in an Excel sheet.
public enum VerticalAlignment
Value | Name | Description |
---|---|---|
0 | None |
Applies the default vertical alignment as determined by the cell format settings. |
1 | Top |
Aligns cell content to the top of the cell, leaving any additional space at the bottom. |
2 | Center |
Centers cell content vertically within the cell, distributing space evenly above and below the content. |
3 | Bottom |
Aligns cell content to the bottom of the cell, leaving any additional space at the top. |