Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

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)

'Usage
Dim returnValue As InlineShape
Dim shape1 As Shape
returnValue = shape1.ConvertToInlineShape()

InlineShape ConvertToInlineShape();
public InlineShape ConvertToInlineShape();
function ConvertToInlineShape() : InlineShape;

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.


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

Anzeigen: