Skip to main content
Saves the model into a file on disk, from where it can subsequently be loaded by the call to the IClassificationEngine::CreateModelFromFile method.

Syntax

C++

HRESULT SaveToFile( BSTR FilePath );

C#

void SaveToFile( string FilePath );

Visual Basic .NET

Sub SaveToFile(FilePath As String)

Parameters

Path [in] This parameter of the type BSTR specifies the path to the file where the model should be saved. If a file with this name already exists, it is overwritten without prompt.

Return values

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

See also

Model