STK ObjectsSend comments on this topic.
IAgComponentInfoCollection Interface

Description

The collection of components and component folders.

Public Methods

Public Method DuplicateComponentDuplicates and adds the component, with the supplied name or index, to the collection and then returns the duplicated component.
Public Method GetFolderReturns the specified folder.
Public Method GetItemByIndexRetrieves component info from the collection by index.
Public Method GetItemByNameRetrieves component info from the collection by name.
Public Method LoadComponentLoads a component from a specified file (full path) into the current folder and then returns the loaded component.
Public Method RemoveRemoves the named component from the collection.

Public Properties

Public Property AvailableFoldersReturns an array of Folder names.
Public Property CountThe number of components available.
Public Property FolderCountThe number of folders available.
Public Property FolderNameThe current folder's name.
Public Property ItemAllows the user to iterate through the components.
© 2024 Analytical Graphics, Inc. All Rights Reserved.