Bewerken

Delen via


Shape.ConvertToFrame Method

Definition

Converts the specified shape to a frame.

public:
 Microsoft::Office::Interop::Word::Frame ^ ConvertToFrame();
public Microsoft.Office.Interop.Word.Frame ConvertToFrame ();
abstract member ConvertToFrame : unit -> Microsoft.Office.Interop.Word.Frame
Public Function ConvertToFrame () As Frame

Returns

Remarks

This property returns a Frame object that represents the new frame.

Shapes that don't support attached text cannot be converted to frames. For pictures, OLE objects, and ActiveX controls, use the ConvertToInlineShape() method.

In Microsoft Word 97 and later, frames have been replaced by text boxes.

Applies to