ctrl + 滚轮调整大小后才会出来- window.onload = function () {
- var shap = sheet.shapes.addConnector("myShape", GC.Spread.Sheets.Shapes.ConnectorType.straight, 200, 200, 600, 600);
- var oldStyle = shap.style();
- oldStyle.line.color = 'red';
- oldStyle.line.lineStyle = GC.Spread.Sheets.Shapes.PresetLineDashStyle.solid;
- oldStyle.line.width = 1;
- oldStyle.line.capType = GC.Spread.Sheets.Shapes.LineCapStyle.square;
- oldStyle.line.joinType = GC.Spread.Sheets.Shapes.LineJoinStyle.miter;
- oldStyle.line.transparency = 0;
- shap.style(oldStyle);
- shap.startRow(8);
- shap.startColumn(2);
- shap.startRowOffset(0);
- shap.startColumnOffset(0);
- shap.endRow(8);
- shap.endColumn(5);
- shap.endRowOffset(0);
- shap.endColumnOffset(0);
- }
复制代码
|