This documentation is archived and is not being maintained.

_Document.Shapes Property

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Shapes Shapes { get; }

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.

Show: