Altova MapForce 2025 Enterprise Edition

LibraryImports

Home Prev Top Next

Represents a collection of imported libraries (LibraryImport objects). Use the Application and Parent properties to navigate the object model. Use the Count and Item properties to iterate through the collection. You can get this collection as follows:

 

Locally (at document level), through the Document.LibraryImports property

Globally (at application level), through the Application.LibraryImports property.

 

If you get the LibraryImports collection from the application object, the Parent property of the collection will be null.

 

Properties

Name

Description

Application

Read-only.

Gets the application's top level object.

Count

Read-only.

Gets the count of LibraryImport objects in this collection.

Item

Read-only.

Retrieves a library entry at index n from this collection. The index is 1-based.

Parent

Read-only.

Gets the parent document for local library imports. If you get the LibraryImports collection from the application object, the Parent property of the collection will be null.

 

Methods

Name

Description

Add

Adds a new library to this LibraryImports object. The new library will have the path supplied by the i_strFileName parameter.

Find

Returns a library reference given the path to the library file.

Remove

Removes a library reference from the Manage Libraries window.

© 2018-2024 Altova GmbH