Share via


InlineShape.ConvertToShape Method

Word Developer Reference

Converts an inline shape to a free-floating shape. Returns a Shape object that represents the new shape.

Syntax

expression.ConvertToShape

expression   Required. A variable that represents an InlineShape object.

Remarks

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

Example

This example converts the first inline shape in the active document to a floating shape.

Visual Basic for Applications
  ActiveDocument.InlineShapes(1).ConvertToShape

See Also