ShapeCollection Members
In This Article
#Properties
Name | Description |
---|---|
Count | Gets the number of elements contained in the ICollection. Inherited from ICollection. |
Is |
Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection. |
Sync |
Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection. |
#Methods
Name | Description |
---|---|
Add |
Creates an unbound shape connector. |
Add |
Inserts a shape so that its top left corner is located at the specified cell. |
Add |
Inserts a shape to fit in the specified range. |
Add |
Inserts a shape with a specific geometry type. |
Add |
Inserts a text box so that its top left corner is located at the specified cell. |
Add |
Inserts a text box to fit in the specified range. |
Add |
Inserts a text box. |
Clear() |
Removes all objects from the Shape |
Contains |
Determines whether the collection contains the specified item. |
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 a worksheet, including items of shape groups. |
Get |
Returns an enumerator that iterates through the collection.
Inherited from IEnumerable |
Get |
Gets a drawing object by its ID value. |
Get |
Gets a drawing object |
Group |
Groups shapes into a shape group. |
Normalize |
Recalculates z-order values for drawing objects, so that they are consecutive integers. |
Remove |
Removes an element at the specified index from the Shape |
Ungroup |
Splits a shape group into individual shapes. |
See Also