GcSpread.Sheets Namespace > ButtonCellType class : marginRight Method |
var instance = new GcSpread.Sheets.ButtonCellType(); var returnValue; // Type: number returnValue = instance.marginRight(value);
function marginRight( value : number ) : number;
var cellType = new GcSpread.Sheets.ButtonCellType(); 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,GcSpread.Sheets.SheetArea.viewport); activeSheet.setRowHeight(0, 90.0,GcSpread.Sheets.SheetArea.viewport);