GC.Spread.Sheets 名前空間 > Worksheet タイプ : setColumnWidth メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.Worksheet(name); var returnValue; // Type: any returnValue = instance.setColumnWidth(col, value, sheetArea); |
Javascript (Specification) | |
---|---|
function setColumnWidth( col : number, value : number, sheetArea : SheetArea ) : any; |
sheet.setValue(0, 0, "value"); sheet.addRows(0, 2); sheet.addColumns(0, 2); sheet.setRowHeight(0, 50.0,GC.Spread.Sheets.SheetArea.viewport); sheet.setColumnWidth(0, 150.0,GC.Spread.Sheets.SheetArea.viewport); sheet.getRange(0, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).backColor("Gray"); sheet.getRange(-1, 0, -1, 1, GC.Spread.Sheets.SheetArea.viewport).backColor ("Brown");