Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt

Use this file to discover all available pages before exploring further.

Loads the classification model from file.

Syntax

C++

HRESULT CreateModelFromFile(
  BSTR     FilePath,
  IModel** Result
);

C#

IModel CreateModelFromFile( string FilePath );

Visual Basic .NET

Function CreateModelFromFile(filePath As String) As IModel

Parameters

FilePath [in] Specifies the full path to the file which contains a trained classification model. The file must have been created by the call to the SaveToFile method of the Model object. Result [out, retval] A pointer to the IModel* pointer variable that receives the interface pointer of the output Model object.

Return values

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

See also

ClassificationEngine