This topic has not yet been rated - Rate this topic

CanvasShapes.BuildFreeform Method

Builds a freeform object.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
FreeformBuilder BuildFreeform(
	MsoEditingType EditingType,
	float X1,
	float Y1
)

Parameters

EditingType
Type: MsoEditingType
The editing property of the first node.
X1
Type: System.Single
The X-position of the first node in the freeform drawing relative to the upper-left corner of the document.
Y1
Type: System.Single
The Y-position of the first node in the freeform drawing relative to the upper-left corner of the document.

Use the AddNodes method to add segments to the freeform. After you have added at least one segment to the freeform, you can use the ConvertToShape method to convert the FreeformBuilder object into a Shape object that has the geometric description you've defined in the FreeformBuilder object.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.