var instance = new GC.Spread.Sheets.CellTypes.Button();
function Button;
var instance = new GC.Spread.Sheets.CellTypes.Button();
function Button;
var cellType = new GC.Spread.Sheets.CellTypes.Button(); cellType.buttonBackColor("#FFFF00"); cellType.text("this is a button"); activeSheet.getCell(0, 2).cellType(cellType);
Object
GC.Spread.Sheets.CellTypes.Button
Name | Description | |
---|---|---|
![]() | Button Constructor | Represents a button cell. |
Name | Description | |
---|---|---|
![]() | buttonBackColor | Gets or sets the button's background color. |
![]() | marginBottom | Gets or sets the button's bottom margin in pixels relative to the cell. |
![]() | marginLeft | Gets or sets the button's left margin in pixels relative to the cell. |
![]() | marginRight | Gets or sets the button's right margin in pixels relative to the cell. |
![]() | marginTop | Gets or sets the button's top margin in pixels relative to the cell. |
![]() | text | Gets or sets the button's content. |