aspose.diagram

Class Collection

It is base class for collections.

Constructor Summary
Collection()
Constructor.
 
Property Getters/Setters Summary
functiongetCount()
Gets the number of elements actually contained in the collection.
 
Method Summary
functionclear()
Removes all elements from collection.
functionisExist(index)
Is exist item in the collection.
functioniterator()
Supports a simple iteration over a nongeneric collection.
 

    • Constructor Detail

      • Collection

        function Collection()
        Constructor.
    • Property Getters/Setters Detail

      • getCount : Number 

        function getCount()
        
        Gets the number of elements actually contained in the collection.
    • Method Detail

      • iterator

        function iterator()
        Supports a simple iteration over a nongeneric collection.
        Returns:
      • isExist

        function isExist(index)
        Is exist item in the collection.
        Parameters:
        index: Number - index of element.
        Returns:
      • clear

        function clear()
        Removes all elements from collection.