SpreadJS Documentation
vAlign Method
The vertical alignment.
Gets or sets the vertical alignment of the contents of the cell.
Syntax
var instance = new GcSpread.Sheets.Cell(sheet, row, col, sheetArea);
var returnValue; // Type: VerticalAlign
returnValue = instance.vAlign(value);
function vAlign( 
   value : VerticalAlign
) : VerticalAlign;

Parameters

value
The vertical alignment.

Return Value

The vertical alignment of the contents of the cell.
Example
This example sets the alignment.
activeSheet.getCell(1,1).vAlign(GcSpread.Sheets.VerticalAlign.center);
Remarks
The default value is VerticalAlign.top.
See Also

Reference

Cell type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.