ProjectItem.AddActiveFile

www.altova.com このトピックを印刷 前のページ 1つ上のレベル 次のページ

ホーム >  The MapForce API > Object Reference > ProjectItem >

ProjectItem.AddActiveFile

Method: AddActiveFile () as ProjectItem

 

Description

Adds the currently active document to this project item if it is a valid child. Otherwise, the document is added to the Mapping Folder of the project's root.

 

Errors


1700

The object is no longer valid.


1701

The file name is empty.

Invalid address for the return parameter was specified.


1703

No active document is available.


1704

Active documents needs to be given a path name before it can be added to the project.


1705

Mapping could not be assigned to project.

The file does not exist or is not a MapForce mapping.

Maybe the file is already assigned to the target folder.

 


(C) 2019 Altova GmbH