ShapeCollection class

ShapeCollection class

Collection of Shapes.

Inheritance: ShapeCollectionCollection

The ShapeCollection type exposes the following members:

Properties

PropertyDescription
countGets the number of elements actually contained in the collection.

Gets the element at the specified index.

Indexer

NameDescription
[index]

Methods

MethodDescription
get_shape(name)Gets the element at the specified name.
get_shape(id)Gets the element at the specified ID.
get_shape_including_child(name)Gets the element including it’s child shape at the specified name.
get_shape_including_child(id)Gets the element including it’s child shape at the specified id.
is_exist(index)Is exist item in the collection.
clear()Removes all elements from collection.
add(item)Add the shape in the collection.
remove(item)Remove the shape from the collection.
remove_depends_on(item)Remove the shapes including DEPENDSON shapes from the collection.
un_group(group_shape)UnGroup the shape.
group(group_items)

See Also