LoadProfile Method of the Engine Object

This method loads a user profile file. For more information about working with profiles, see the Working with Profiles section of this Help file.

Syntax

C++

HRESULT LoadProfile( BSTR FileName );
    

C#

void LoadProfile( string FileName );
    

Visual Basic .NET

Sub LoadProfile(FileName As String)
    

Parameters

FileName
[in] This variable contains the path to the profile file. You can specify either a full path to the file, or a path relative to the current directory. If this variable contains an empty string, standard default values for all newly created objects will be used.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

Remarks

This method call cleans the current recognition session (i.e., the IEngine::CleanRecognizerSession method is called automatically).

Samples

C# code

The method is used in the following demo tools: Engine Predefined Processing Profiles.

See also

Engine

Working with Profiles

24.03.2023 8:51:52

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.