_Document.Shapes _Document.Shapes _Document.Shapes Property


Returns a Shapes collection that represents all the Shape objects in the specified document.

 property Microsoft::Office::Interop::Word::Shapes ^ Shapes { Microsoft::Office::Interop::Word::Shapes ^ get(); };
public Microsoft.Office.Interop.Word.Shapes Shapes { get; }
Public ReadOnly Property Shapes As Shapes

Property Value


This collection can contain drawings, shapes, pictures, OLE objects, ActiveX controls, text objects, and callouts.

The Shapes property returns all the Shape objects in the main story of the document, excluding the headers and footers.

Applies to