コード例 #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;
 }