com.aspose.diagram
Class PageCollection

java.lang.Object
  extended by Collection
      extended by com.aspose.diagram.PageCollection
All Implemented Interfaces:
java.lang.Iterable

public class PageCollection 
extends Collection

Page collection.


Property Getters/Setters Summary
intgetCount()→ inherited from Collection
           Gets the number of elements actually contained in the collection.
Pageget(int)
           Gets the element at the specified index.
 
Method Summary
intadd(Page page)
           Add the page in the collection.
voidclear()→ inherited from Collection
           Removes all elements from collection.
voiddispose()
           Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
PagegetPage(int ID)
           Gets the element at the specified ID.
PagegetPage(java.lang.String name)
           Gets the element at the specified name.
booleanisExist(int index)→ inherited from Collection
           Is exist item in the collection.
java.util.Iteratoriterator()→ inherited from Collection
           Supports a simple iteration over a nongeneric collection.
voidremove(Page page)
           Remove the page from the collection.
 

Property Getters/Setters Detail

getCount

→ inherited from Collection
public int getCount()
Gets the number of elements actually contained in the collection.

get

public Page get(int index)
Gets the element at the specified index.
Parameters:
index -
Returns:

Method Detail

add

public int add(Page page)
Add the page in the collection.
Parameters:
page -
Returns:

dispose

public void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

remove

public void remove(Page page)
Remove the page from the collection.
Parameters:
page -

getPage

public Page getPage(int ID)
Gets the element at the specified ID.
Parameters:
ID -
Returns:

getPage

public Page getPage(java.lang.String name)
Gets the element at the specified name.
Parameters:
name -
Returns:

iterator

→ inherited from Collection
public java.util.Iterator iterator()
Supports a simple iteration over a nongeneric collection.
Returns:

isExist

→ inherited from Collection
public boolean isExist(int index)
Is exist item in the collection.
Parameters:
index - index of element.
Returns:

clear

→ inherited from Collection
public void clear()
Removes all elements from collection.

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.