本帖最后由 Joestar.Xu 于 2023-6-28 14:31 编辑
调用下面这个画箭头的方法之后,执行saveAs代码下载的excel文件报图形描画错误,怎么搞?
_arrowShape: function(activeSheet){
var shape = activeSheet.shapes.addConnector("arrowShape",GC.Spread.Sheets.Shapes.ConnectorType.straight,70,75,400,260);
var style = shape.style();
style.line.color = "red";
style.line.lineStyle = GC.Spread.Sheets.Shapes.PresetLineDashStyle.solid;
style.line.width = 1;
sytle.line.endArrowheadStyle = GC.Spread.Sheets.Shapes.AutoShapeType.rightArrow;
shape.style(style);
}
|
|