_Document.Shapes 属性

定义

返回一个 Shapes 集合,该集合代表 Shape 指定文档中的所有对象。Returns a Shapes collection that represents all the Shape objects in the specified document.

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

属性值

Shapes

注解

该集合可以包含绘图、形状、图片、OLE 对象、ActiveX 控件、文本对象和标注。This collection can contain drawings, shapes, pictures, OLE objects, ActiveX controls, text objects, and callouts.

Shapes属性返回文档的主要部分中的所有Shape对象,页眉和页脚除外。The Shapes property returns all the Shape objects in the main story of the document, excluding the headers and footers.

适用于