使用CloseFigures属性可以在结束绘制后,将Annotation保存为Shap对象。然后可以调整线条粗细。- void fpSpread1_AnnotationModeEnding(object sender, AnnotationModeEventArgs e)
- {
- (e.DrawingSurface as FarPoint.Win.Spread.DrawingSpace.DrawingSurface).CloseFigures = true;
- }
复制代码 或者你在调用StartAnnotationMode时,直接传参数将CloseFigures置为true;- this.fpSpread1.StartAnnotationMode(true);
复制代码 |