HeaderFooter.Shapes Property
Returns a Shapes collection that represents all the Shape objects in the specified header or footer. This collection can contain drawings, shapes, pictures, OLE objects, ActiveX controls, text objects, and callouts.
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 HeaderFooter
Dim value As Shapes
value = instance.Shapes
Shapes Shapes { get; }
Property Value
Type: Microsoft.Office.Interop.Word.Shapes
Remarks
When applied to a HeaderFooter object, the Shapes property returns all the Shape objects found in all the headers and footers in the document.