Shapes property
Collapse the table of content
Expand the table of content

_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.

© 2016 Microsoft