Пример #1
0
 private static void DrawShapeOnDoc(this CurveCanvasShape ccs, Document doc)
 {
     doc.Shapes.AddCurve(ccs.ConvertTuplePointsToSafePoints()).Line.Weight = (float)ccs.Thickness;
 }
Пример #2
0
 private static void DrawShapeOnCanvas(this CurveCanvasShape ccs, MWord.CanvasShapes canvasItems)
 {
     canvasItems.AddCurve(ccs.ConvertTuplePointsToSafePoints()).Line.Weight = (float)ccs.Thickness;
 }