OpenProject Method of the Engine Object

This method allows you to open a FlexiCapture project. The project folder must contain the project file (.fcproj file) and a folder containing Document Definitions.

If the project was created in an earlier version of ABBYY FlexiCapture SDK or ABBYY FlexiCapture, you will need to update it first. Call the UpdateProject method of the Engine object. However, you will not be able to work with a project created in later versions of these products.

Important!

  • You must keep the reference to the Project object when any references to the objects of the project are used. If the reference to the Project object is released and its subobjects are still in use, errors may occur.
  • An open project cannot be deleted.

Syntax

Visual Basic .NET

Function OpenProject(Path As String) As Project
    

C++

HRESULT OpenProject(
  BSTR       Path,
  IProject** Result
);
    

Parameters

Path
[in] This variable contains the full path to the project file (.fcproj file). For example "D:\TestProject\TestProject.fcproj".
Result
[out, retval] A pointer to the IProject* pointer variable that receives the interface pointer to the resulting Project object. Must not be NULL.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

Samples

C++ (COM) code

This method is used in the following code samples: Hello, FieldsExtractionTraining.

See also

Engine

Project

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.