Script.Shape Property

Definition

Returns a Shape object or InlineShape object, depending on the Microsoft Office host application.

public:
 property System::Object ^ Shape { System::Object ^ get(); };
public object Shape { get; }
member this.Shape : obj
Public ReadOnly Property Shape As Object

Property Value

Remarks

The Shape property returns a Shape object in Microsoft Excel and PowerPoint. In Word, the Shape property returns a Shape object if the script anchor is floating; if it’s an inline anchor, however, this property returns an InlineShape object.

Applies to