您好,您可以参考以下代码:- var lineStyle = GC.Spread.Sheets.LineStyle.double;
- var lineBorder = new GC.Spread.Sheets.LineBorder('red', lineStyle);
- sheet.getRange(1, 0, 1, -1).setBorder(lineBorder, {outline: true}, sheetArea);
复制代码 相关API链接:
https://demo.grapecity.com.cn/sp ... ets.LineBorder.html
https://demo.grapecity.com.cn/sp ... ange.html#setBorder
|