CanvasShapes.AddCurve Method
Adds a Bézier curve in a drawing canvas.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim SafeArrayOfPoints As Object
Dim returnValue As Shape
Dim canvasShapes1 As CanvasShapes
returnValue = canvasShapes1.AddCurve(SafeArrayOfPoints)
Syntax
Function AddCurve( _
<InAttribute()> ByRef SafeArrayOfPoints As Object _
) As Shape
Shape AddCurve(
[In] ref object SafeArrayOfPoints
);
public: Shape^ AddCurve(
&Object^ SafeArrayOfPoints
);
public Shape AddCurve(
/*in*/System.Object SafeArrayOfPoints
);
function AddCurve(
SafeArrayOfPoints : Object
) : Shape;
Parameters
- SafeArrayOfPoints
An array of coordinate pairs that specifies the vertices and control points of the curve. The first point you specify is the starting vertex, and the next two points are control points for the first Bézier segment. Then, for each additional segment of the curve, you specify a vertex and two control points. The last point you specify is the ending vertex for the curve. Note that you must always specify 3n + 1 points, where n is the number of segments in the curve.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
CanvasShapes Interface
Microsoft.Office.Interop.Word Namespace