Share via


InlineShape.ConvertToShape Method

Converts an inline shape to a free-floating shape and 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)

Syntax

'Declaration
Function ConvertToShape As Shape
'Usage
Dim instance As InlineShape
Dim returnValue As Shape

returnValue = instance.ConvertToShape()
Shape ConvertToShape()

Return Value

Type: Microsoft.Office.Interop.Word.Shape

Remarks

You must apply the AddNodes method to a FreeformBuilder object at least once before you use the ConvertToShape method.

See Also

Reference

InlineShape Interface

InlineShape Members

Microsoft.Office.Interop.Word Namespace