HeaderFooter.Shapes Property

Definition

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.

public:
 property Microsoft::Office::Interop::Word::Shapes ^ Shapes { Microsoft::Office::Interop::Word::Shapes ^ get(); };
public Microsoft.Office.Interop.Word.Shapes Shapes { get; }
member this.Shapes : Microsoft.Office.Interop.Word.Shapes
Public ReadOnly Property Shapes As Shapes

Property Value

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.

Applies to