Skip to main content
A newer version of this page is available. .

ShapeCollection Members

A collection of shapes in a document.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
Item[String] Gets the shape with the specified name.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

Name Description
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
Get(DocumentRange) Gets all shapes located in the specified document range. Inherited from ReadOnlyShapeCollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
InsertPicture(DocumentPosition, DocumentImageSource) Inserts a picture as a floating object.
InsertPicture(DocumentPosition, Image) Inserts a picture as a floating object.
InsertTextBox(DocumentPosition) Inserts a floating text box.
See Also