asposediagram.api

Class VbaModuleCollection

Represents the list of VbaModule

Property Getters/Setters Summary
methodgetCount()
methodget(index)
Gets VbaModule in the list by the index.
methodget(name)
Gets VbaModule in the list by the name.
 
Method Summary
methodadd(page)
Adds module for a worksheet.
methodadd(type, name)
Adds module.
methodadd(value)
Reserved for internal use.
methodclear()
methodcontains(value)
Reserved for internal use.
methodget(index)
Reserved for internal use.
methodindexOf(value)
Reserved for internal use.
methoditerator()
methodremove(page)
Removes module for a page.
methodremove(name)
Remove the module by the name
methodremoveAt(index)
 

    • Property Getters/Setters Detail

      • getCount : int 

        int getCount()
        
    • Method Detail

      • add

        int add(page)
        Adds module for a worksheet.
        Parameters:
        sheet - The worksheet
        Returns:
      • add

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

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

         remove(name)
        Remove the module by the name
        Parameters:
        name: String -
      • clear

         clear()
      • removeAt

         removeAt(index)
      • iterator

        Iterator iterator()
      • get

        Object get(index)
        Reserved for internal use.
      • contains

        boolean contains(value)
        Reserved for internal use.
      • add

        int add(value)
        Reserved for internal use.
      • indexOf

        int indexOf(value)
        Reserved for internal use.