private static void DrawShapeOnDoc(this CurveCanvasShape ccs, Document doc) { doc.Shapes.AddCurve(ccs.ConvertTuplePointsToSafePoints()).Line.Weight = (float)ccs.Thickness; }
private static void DrawShapeOnCanvas(this CurveCanvasShape ccs, MWord.CanvasShapes canvasItems) { canvasItems.AddCurve(ccs.ConvertTuplePointsToSafePoints()).Line.Weight = (float)ccs.Thickness; }