Load

This method loads the project definition from the specified file and creates the corresponding project tree.

The method triggers the OnLoadProject event, so that possible project extensions can also load to load their settings from the project file.

If multiple versions are stored in the project file, the Load method always loads the latest version.

The method sets the Modified property to FALSE.

Syntax

Load (Filename As String, [IgnoreErrors As Boolean = FALSE])
Parameter Description

Filename

Path to a compound file containing the project definition, stored using the Save method.

IgnoreErrors

Optional parameter

TRUE: The method proceeds even if a no recognition engine or preprocessing method is registered on this computer. A missing recognition engine is replaced by the current default recognition engine, while a missing preprocessing method is removed from the definition.

FALSE: The method fails if a recognition engine, preprocessing method or other component referenced by the project file is not registered on this computer.

The default value is 0.