This documentation is archived and is not being maintained.

Shapes.BuildFreeform Method 

Builds a freeform object. Returns a FreeformBuilder object that represents the freeform as it is being built.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

'Usage
Dim EditingType As MsoEditingType
Dim X1 As Single
Dim Y1 As Single
Dim returnValue As FreeformBuilder
Dim shapes1 As Shapes
returnValue = shapes1.BuildFreeform(EditingType, X1, Y1)

FreeformBuilder BuildFreeform(
	[In] MsoEditingType EditingType, 
	[In] float X1, 
	[In] float Y1
);
public FreeformBuilder BuildFreeform(
	/*in*/MsoEditingType EditingType, 
	/*in*/float X1, 
	/*in*/float Y1
);
function BuildFreeform(
	 EditingType : MsoEditingType, 
	 X1 : float, 
	 Y1 : float
) : FreeformBuilder;

Parameters

EditingType

Required Microsoft.Office.Core.MsoEditingType. The editing property of the first node.

X1

Required Single. The position (in points) of the first node in the freeform drawing relative to the upper-left corner of the document.

Y1

Required Single. The position (in points) 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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Show: