Shape.ConvertToInlineShape Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the specified shape in the drawing layer of a document to an inline shape in the text layer.
public:
Microsoft::Office::Interop::Word::InlineShape ^ ConvertToInlineShape();
public Microsoft.Office.Interop.Word.InlineShape ConvertToInlineShape ();
abstract member ConvertToInlineShape : unit -> Microsoft.Office.Interop.Word.InlineShape
Public Function ConvertToInlineShape () As InlineShape
Returns
Remarks
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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for