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
17.09.2024 15:14:41