Specifies the vertical alignment of content within cells in an Excel sheet.
lt.Document.SheetEditor.VerticalAlignment = {
none: 0,
top: 1,
center: 2,
bottom: 3
}
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. |