GC.Spread.Sheets Namespace > CellRange type : vAlign Method |
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea); var returnValue; // Type: any returnValue = instance.vAlign(value);
function vAlign( value : VerticalAlign ) : any;
activeSheet.getRange(2, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).vAlign(GC.Spread.Sheets.VerticalAlign.bottom);
activeSheet.getCell(1,1).vAlign(GC.Spread.Sheets.VerticalAlign.center);
activeSheet.getRange(-1, 3, -1, 1, GC.Spread.Sheets.SheetArea.viewport).vAlign(GC.Spread.Sheets.VerticalAlign.top);