FreeformBuilder.ConvertToShape MethodÂ
Creates a shape that has the geometric characteristics of the specified object. Returns a Shape object that represents the new shape.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim Anchor As Object
Dim returnValue As Shape
Dim freeformBuilder1 As FreeformBuilder
returnValue = freeformBuilder1.ConvertToShape(Anchor)
Syntax
Function ConvertToShape( _
<InAttribute()> Optional ByRef Anchor As Object _
) As Shape
Shape ConvertToShape(
[In, Optional] ref object Anchor
);
public: Shape^ ConvertToShape(
&Object^ Anchor
);
public Shape ConvertToShape(
/*in*/System.Object Anchor
);
function ConvertToShape(
Anchor : Object
) : Shape;
Parameters
- Anchor
Optional Object. A Range object that represents the text to which the shape is bound. If Anchor is specified, the anchor is positioned at the beginning of the first paragraph in the anchoring range. If this argument is omitted, the anchoring range is selected automatically and the shape is positioned relative to the top and left edges of the page.
Remarks
You must apply the AddNodes method to a FreeformBuilder object at least once before you use the ConvertToShape method.
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
FreeformBuilder Interface
Microsoft.Office.Interop.Word Namespace