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

Parameters

value
The row vertical alignment.

Return Value

The row vertical alignment.
Example
This example sets the vertical alignment.
activeSheet.getRow(2).vAlign(GcSpread.Sheets.VerticalAlign.bottom);
Remarks
The default value is VerticalAlign.center.
See Also

Reference

Row type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.