com.aspose.diagram

Class VbaModuleCollection

  • com.aspose.diagram.CollectionBase
    • com.aspose.diagram.VbaModuleCollection
public class VbaModuleCollection 
extends com.aspose.diagram.CollectionBase

Represents the list of VbaModule

Property Getters/Setters Summary
intgetCount()
VbaModuleget(int index)
Gets VbaModule in the list by the index.
VbaModuleget(java.lang.String name)
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)
Reserved for internal use.
voidclear()
booleancontains(java.lang.Object value)
Reserved for internal use.
java.lang.Objectget(int index)
Reserved for internal use.
intindexOf(java.lang.Object value)
Reserved for internal use.
java.util.Iteratoriterator()
voidremove(Page page)
Removes module for a page.
voidremove(java.lang.String name)
Remove the module by the name
voidremoveAt(int index)
 

    • Property Getters/Setters Detail

      • getCount

        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

        public void clear()
      • removeAt

        public void removeAt(int index)
      • iterator

        public java.util.Iterator iterator()
      • get

        public java.lang.Object get(int index)
        Reserved for internal use.
      • contains

        public boolean contains(java.lang.Object value)
        Reserved for internal use.
      • add

        public int add(java.lang.Object value)
        Reserved for internal use.
      • indexOf

        public int indexOf(java.lang.Object value)
        Reserved for internal use.