[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Assembly: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
This collection can contain drawings, shapes, pictures, OLE objects, ActiveX controls, text objects, and callouts.
The property, when applied to a document, returns all the Shape objects in the main story of the document, excluding the headers and footers. When applied to a HeaderFooter object, the property returns all the Shape objects found in all the headers and footers in the document.
The following code example adds a shape to the upper left-hand corner of the document. To use this example, run it from the ThisDocument class in a document-level project.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.