com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class VbaModuleCollection

  • java.lang.Object
    • com.aspose.slides.VbaModuleCollection
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      IVbaModule addEmptyModule(java.lang.String name)
      Adds a new empty module to the VBA Project.
      void copyTo(com.aspose.ms.System.Array array, int index)
      Copies all elements from the collection to the specified array.
      IVbaModule get_Item(int index)
      Gets the element at the specified index.
      java.lang.Object getSyncRoot()
      Returns a synchronization root.
      boolean isSynchronized()
      Returns a value indicating whether access to the collection is synchronized (thread-safe).
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IVbaModule> iterator()
      Returns an enumerator that iterates through the collection.
      void remove(IVbaModule value)
      Removes the first occurrence of a specific object from the collection.
      int size()
      Gets the number of elements actually contained in the collection.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • size

        public final int size()

        Gets the number of elements actually contained in the collection. Read-only int.

        Specified by:
        size in interface com.aspose.ms.System.Collections.ICollection<IVbaModule>
      • remove

        public final void remove(IVbaModule value)

        Removes the first occurrence of a specific object from the collection.

        Specified by:
        remove in interface IVbaModuleCollection
        Parameters:
        value - The module to remove from the collection.
      • addEmptyModule

        public final IVbaModule addEmptyModule(java.lang.String name)

        Adds a new empty module to the VBA Project.

        Specified by:
        addEmptyModule in interface IVbaModuleCollection
        Parameters:
        name - Name of the module
        Returns:
        Added module.
      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IVbaModule> iterator()

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IVbaModule>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<IVbaModule>
        Specified by:
        iterator in interface java.lang.Iterable<IVbaModule>
        Returns:
        A System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
      • copyTo

        public final void copyTo(com.aspose.ms.System.Array array,
                                 int index)

        Copies all elements from the collection to the specified array.

        Specified by:
        copyTo in interface com.aspose.ms.System.Collections.ICollection<IVbaModule>
        Parameters:
        array - Target array.
        index - Starting index in the target array.
      • isSynchronized

        public final boolean isSynchronized()

        Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

        Specified by:
        isSynchronized in interface com.aspose.ms.System.Collections.ICollection<IVbaModule>
      • getSyncRoot

        public final java.lang.Object getSyncRoot()

        Returns a synchronization root. Read-only Object.

        Specified by:
        getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<IVbaModule>