MasterCollection class
MasterCollection class
Master collection.
Inheritance: MasterCollection → Collection
The MasterCollection type exposes the following members:
Properties
| Property | Description | 
|---|---|
| count | Gets the number of elements actually contained in the collection. | 
| master_shortcuts | MasterShortcut collection. | 
Gets the element at the specified index.
Indexer
| Name | Description | 
|---|---|
| [index] | 
Methods
| Method | Description | 
|---|---|
| is_exist(name) | Is exist master in the collection. | 
| is_exist(index) | Is exist item in the collection. | 
| clear() | Removes all elements from collection. | 
| add(master) | Add the Master object in the collection. | 
| remove(master) | Remove the Master object from the collection. | 
| get_master(id) | Gets the element at the specified ID. | 
| get_master_by_name(name) | Get master by name. | 
| get_max_rel_id() | get the max rel id in the collection. | 
| is_exist_rel_id(rel_id) | Is exist master rel id in the collection. | 
See Also
- module aspose.diagram
 - class Collection