IVbaModuleCollection
All Implemented Interfaces: com.aspose.slides.IGenericCollection
public interface IVbaModuleCollection extends IGenericCollection<IVbaModule>
Represents a collection of a VBA Project modules.
Methods
Method | Description |
---|---|
get_Item(int index) | Gets the element at the specified index. |
addEmptyModule(String name) | Adds a new empty module to the VBA Project. |
remove(IVbaModule value) | Removes the first occurrence of a specific object from the collection. |
get_Item(int index)
public abstract IVbaModule get_Item(int index)
Gets the element at the specified index.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int |
Returns: IVbaModule
addEmptyModule(String name)
public abstract IVbaModule addEmptyModule(String name)
Adds a new empty module to the VBA Project.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Name of the module |
Returns: IVbaModule - Added module.
remove(IVbaModule value)
public abstract void remove(IVbaModule value)
Removes the first occurrence of a specific object from the collection.
Parameters:
Parameter | Type | Description |
---|---|---|
value | IVbaModule | The module to remove from the collection. |