ShapeCollection Methods
A collection of drawing objects (shapes, pictures, text boxes, charts, watermarks, OLE objects, and ActiveX controls).
Name | Description |
---|---|
Clear() | Removes all shapes from the collection. |
Copy |
Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection. |
Flatten() | Converts a shape collection into a flattened collection that contains all drawing objects in the document, including items of shape groups and canvases. |
Get |
Gets all shapes located in the specified document range.
Inherited from Read |
Get |
Returns an enumerator that iterates through the collection.
Inherited from IEnumerable |
Insert |
Inserts a drawing canvas at the specified position in the document. |
Insert |
Inserts a drawing canvas of specified size in the document. |
Insert |
Inserts a drawing canvas in the document. |
Insert |
Inserts a chart at the specified position in the document. |
Insert |
Inserts a shape group in the document. |
Insert |
Inserts an image watermark into the section header. |
Insert |
Inserts an image watermark into the section header. |
Insert |
Inserts an image watermark into the section header. |
Insert |
Inserts an image watermark into the section header. |
Insert |
Inserts a line in the document. |
Insert |
Inserts an OLE object that stores data from the specified file. The object is displayed in the document as an image. |
Insert |
Inserts an OLE object that stores data from the specified file. The object is displayed in the document as an image. |
Insert |
Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an image. |
Insert |
Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an image. |
Insert |
Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an image. |
Insert |
Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an image. |
Insert |
Inserts an OLE object that stores data from the specified file. The object is displayed in the document as an icon. |
Insert |
Inserts an OLE object that stores data from the specified file. The object is displayed in the document as an icon. |
Insert |
Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an icon. |
Insert |
Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an icon. |
Insert |
Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an icon. |
Insert |
Inserts an OLE object that contains a link to the specified file. The object is displayed in the document as an icon. |
Insert |
Inserts a picture in the document. |
Insert |
Inserts a picture in the document. |
Insert |
Inserts a shape at the specified position in the document. |
Insert |
Inserts a shape of specified size in the document. |
Insert |
Inserts a shape in the document. |
Insert |
Inserts a text box at the specified position in the document. |
Insert |
Inserts a text box of the specified size in the document. |
Insert |
Inserts a text box in the document. |
Insert |
Inserts a text watermark into the section header. |
Insert |
Inserts a text watermark into the section header. |
Remove |
Removes the specified shape from the collection. |
Remove |
Removes a shape with the specified index from the collection. |
See Also