这个好像不行呀
let cols = this.spread.getActiveSheet().getSelections();
let row = cols[0].row
let col = cols[0].col
let rowCount = cols[0].rowCount
let colCount = cols[0].colCount
this.spread
.getActiveSheet()
.getRange(
row,
col,
rowCount,
colCount,
GC.Spread.Sheets.SheetArea.viewport
)
.setBorder(
new GC.Spread.Sheets.LineBorder(
"#000",
GC.Spread.Sheets.LineStyle.empty
),
);
|