com.aspose.diagram
Class VbaModuleCollection

com.aspose.diagram.CollectionBase
    extended by com.aspose.diagram.VbaModuleCollection

public class VbaModuleCollection 
extends com.aspose.diagram.CollectionBase

Represents the list of VbaModule


Property Getters/Setters Summary
intgetCount()→ inherited from com.aspose.cells.CollectionBase
          
VbaModuleget(int)
           Gets VbaModule in the list by the index.
VbaModuleget(java.lang.String)
           Gets VbaModule in the list by the name.
 
Method Summary
intadd(Page page)
           Adds module for a page.
intadd(int type, java.lang.String name)
           Adds module.
intadd(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
voidclear()→ inherited from com.aspose.cells.CollectionBase
          
booleancontains(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
intindexOf(java.lang.Object value)→ inherited from com.aspose.cells.CollectionBase
          Reserved for internal use.
java.util.Iteratoriterator()→ inherited from com.aspose.cells.CollectionBase
          
voidremove(Page page)
           Removes module for a page.
voidremove(java.lang.String name)
           Remove the module by the name
voidremoveAt(int index)→ inherited from com.aspose.cells.CollectionBase
          
 

Property Getters/Setters Detail

getCount

→ inherited from com.aspose.cells.CollectionBase
public int getCount()

get

public VbaModule get(int index)
Gets VbaModule in the list by the index.
Parameters:
index - The index.
Returns:

get

public VbaModule get(java.lang.String name)
Gets VbaModule in the list by the name.
Parameters:
name - The name of module.
Returns:

Method Detail

add

public int add(Page page)
Adds module for a page.
Parameters:
page - The Page
Returns:

add

public int add(int type, java.lang.String name)
Adds module.
Parameters:
type - A VbaModuleType value. The type of module.
name - The name of module.
Returns:

remove

public void remove(Page page)
Removes module for a page.
Parameters:
page - The page
Returns:

remove

public void remove(java.lang.String name)
Remove the module by the name
Parameters:
name -

clear

→ inherited from com.aspose.cells.CollectionBase
public void clear()

removeAt

→ inherited from com.aspose.cells.CollectionBase
public void removeAt(int index)

iterator

→ inherited from com.aspose.cells.CollectionBase
public java.util.Iterator iterator()

contains

→ inherited from com.aspose.cells.CollectionBase
public boolean contains(java.lang.Object value)
Reserved for internal use.

add

→ inherited from com.aspose.cells.CollectionBase
public int add(java.lang.Object value)
Reserved for internal use.

indexOf

→ inherited from com.aspose.cells.CollectionBase
public int indexOf(java.lang.Object value)
Reserved for internal use.

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