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

Syntax

'Declaration
ReadOnly Property Shapes As Shapes
    Get
'Usage
Dim instance As _Document
Dim value As Shapes

value = instance.Shapes
Shapes Shapes { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Shapes

Remarks

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.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace