Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Shape.ConvertToInlineShape Method

Converts the specified shape in the drawing layer of a document to an inline shape in the text layer.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

InlineShape ConvertToInlineShape()

You can convert only shapes that represent pictures, OLE objects, or ActiveX controls. This method returns an InlineShape object that represents the picture or OLE object.

Shapes that support attached text cannot be converted to inline shapes. For these shapes, use the ConvertToFrame method.

© 2015 Microsoft