com.aspose.diagram

Class VbaProjectReferenceCollection

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

Represents all references of VBA project.

Property Getters/Setters Summary
intgetCount()
VbaProjectReferenceget(int i)
Get the reference in the list by the index.
 
Method Summary
intadd(java.lang.Object value)
Reserved for internal use.
intaddControlRefrernce(java.lang.String name, java.lang.String libid, java.lang.String twiddledlibid, java.lang.String extendedLibid)
Add a reference to a twiddled type library and its extended type library.
intaddProjectRefrernce(java.lang.String name, java.lang.String absoluteLibid, java.lang.String relativeLibid)
Add a reference to an external VBA project.
intaddRegisteredReference(java.lang.String name, java.lang.String libid)
Add a reference to an Automation type library.
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()
voidremoveAt(int index)
 

    • Property Getters/Setters Detail

      • getCount

        public int getCount()
        
      • get

        public VbaProjectReference get(int i)
        
        Get the reference in the list by the index.
        Parameters:
        i - The index.
        Returns:
    • Method Detail

      • addRegisteredReference

        public int addRegisteredReference(java.lang.String name, java.lang.String libid)
        Add a reference to an Automation type library.
        Parameters:
        name - The name of reference.
        libid - The identifier of an Automation type library.
        Returns:
      • addControlRefrernce

        public int addControlRefrernce(java.lang.String name, java.lang.String libid, java.lang.String twiddledlibid, java.lang.String extendedLibid)
        Add a reference to a twiddled type library and its extended type library.
        Parameters:
        name - The name of reference.
        libid - The identifier of an Automation type library.
        twiddledlibid - The identifier of a twiddled type library
        extendedLibid - The identifier of an extended type library
        Returns:
      • addProjectRefrernce

        public int addProjectRefrernce(java.lang.String name, java.lang.String absoluteLibid, java.lang.String relativeLibid)
        Add a reference to an external VBA project.
        Parameters:
        name - The name of reference.
        absoluteLibid - The referenced VBA project’s identifier with an absolute path.
        relativeLibid - The referenced VBA project’s identifier with an relative path.
        Returns:
      • 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.