Gets or sets the vertical alignment of the cell's content to determine the positioning of its content along the vertical axis within the boundaries.
Object.defineProperty(CellStyle.prototype, 'verticalAlignment',
get: function(),
set: function(value)
)
An enumeration of type VerticalAlignment that specifies the vertical alignment of content within a cell. The options include none
, top
, center
, and bottom
. The default value is none
, which indicates that the default vertical alignment of the spreadsheet or table is applied.
The VerticalAlignment property plays a crucial role in controlling the appearance and readability of cell content within tables or spreadsheets. By adjusting vertical alignment, you can ensure that the content within a cell is positioned in a way that meets the aesthetic and functional requirements of the application.