var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea); var returnValue; // Type: any returnValue = instance.setStyleName(value);
function setStyleName( value : string ) : any;
パラメータ
- value
- スタイル名。
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea); var returnValue; // Type: any returnValue = instance.setStyleName(value);
function setStyleName( value : string ) : any;
let style = new GC.Spread.Sheets.Style(); style.name = "bold_style"; style.font = "bold 12px sans-serif"; sheet.addNamedStyle(style); sheet.getRange("A1:D3").setStyleName("bold_style"); sheet.getRange(5,5,10,10).setStyleName("bold_style");