Chinese Simplified (简体中文)

LoadPredefinedProfile Method of the Engine Object

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.

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

Samples

C# code

The method is used in all code samples.

See also

Engine

Working with Profiles

9/17/2024 3:14:41 PM

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.