ShapeCollection Class
Collection of Shapes.
Inheritance Hierarchy
SystemObject
  Aspose.DiagramCollection
    Aspose.DiagramShapeCollection

Namespace: Aspose.Diagram
Assembly: Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.2.0.0 (20.2)
Syntax
public class ShapeCollection : Collection

The ShapeCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements actually contained in the collection.
(Inherited from Collection.)
Public propertyItem
Gets the element at the specified index.
Protected propertyList
List of the elemens.
(Inherited from Collection.)
Methods
  NameDescription
Public methodAdd
Add the shape in the collection.
Public methodClear
Removes all elements from collection.
(Inherited from Collection.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Supports a simple iteration over a nongeneric collection.
(Inherited from Collection.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetShape(Int64)
Gets the element at the specified ID.
Public methodGetShape(String)
Gets the element at the specified name.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodGroup
Group the shapes.
Public methodIsExist
Is exist item in the collection.
(Inherited from Collection.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Remove the shape from the collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also