Skip to main content
This method loads one of the predefined profiles. After the profile is loaded, newly created objects will have the new default values specified in the profile. For more information about working with profiles, see the Working with Profiles section of this Help file.

Syntax

C++

HRESULT LoadPredefinedProfile( BSTR ProfileName );

C#

void LoadPredefinedProfile( string ProfileName );

Visual Basic .NET

Sub LoadPredefinedProfile(ProfileName As String)

Parameters

ProfileName [in] This variable contains a profile name. Below is a list of available predefined profiles: For full list of the settings used by each profile, see Predefined Profiles Specification. Note, however, that these settings are subject to change without notice in future releases. For Linux and macOS users, the predefined profile files can be found in your distribution package in the following folder:
  • Linux: Bin/PredefinedProfiles
  • macOS: Libraries/PredefinedProfiles
The profiles may require additional modules available in the license. See details in the descriptions of the profiles.

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 (that is, the IEngine::CleanRecognizerSession method is called automatically).

Samples

// Load Engine
FREngine.IEngine engine;
...
// Select necessary predefined profile
engine.LoadPredefinedProfile("DocumentConversion_Accuracy");
// Continue document processing
The method is used in all code samples.

See also

Engine Working with Profiles