GC.Spread.Sheets.CellTypes 名前空間 > Button クラス : marginTop メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.CellTypes.Button(); var returnValue; // Type: any returnValue = instance.marginTop(value); |
Javascript (Specification) | |
---|---|
function marginTop( value : number ) : any; |
var cellType = new GC.Spread.Sheets.CellTypes.Button(); cellType.buttonBackColor("#FFFF00"); cellType.text("this is a button"); cellType.marginTop(5).marginRight(8).marginBottom(10).marginLeft(12); activeSheet.getCell(0, 2).cellType(cellType); activeSheet.setColumnWidth(2, 120.0,GC.Spread.Sheets.SheetArea.viewport); activeSheet.setRowHeight(0, 90.0,GC.Spread.Sheets.SheetArea.viewport);