请参考
- FarPoint.Win.Spread.DrawingSpace.RectangleShape shape1 = new FarPoint.Win.Spread.DrawingSpace.RectangleShape();
- shape1.ShapeOutlineColor = Color.Red;
- shape1.ShapeOutlineStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- shape1.ShapeOutlineThickness = 3F;
- fpSpread1.ActiveSheet.AddShape(shape1, 3, 2);
复制代码 |