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