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

ReadOnly Property Shapes As Shapes
Dim instance As _Document
Dim value As Shapes

value = instance.Shapes

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.

Community Additions