Documents

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  The MapForce API > Object Reference > Interfaces >

Documents

Represents a collection of Document objects.

 

Properties to navigate the object model:

 

Application
Parent

 

Open and create mappings:

 

OpenDocument
NewDocument

 

Iterating through the collection:

 

Count
Item
ActiveDocument

 

Properties

Name

Description

ActiveDocument

Read-only.

Retrieves the active document. If no document is open, null is returned.

Application

Read-only.

Retrieves the application's top-level object.

Count

Read-only.

Retrieves the number of documents in the collection.

Item

Read-only.

Retrieves the document at index n from the collection. Indices start with 1.

Parent

Read-only.

The parent object according to the object model.

 

Methods

Name

Description

NewDocument

Creates a new document, adds it to the end of the collection, and makes it the active document.

OpenDocument

Opens an existing mapping document (*.mfd). Adds the newly opened document to the end of the collection and makes it the active document.


© 2019 Altova GmbH