CreateObjectFromPage Method of the ClassificationEngine Object

Creates a new ClassificationObject on the basis of a page. The classification object contains all the data needed by the classifier. Note that its Description property will contain the name of the file from which the document was created. If that is not acceptable, change the description after the object is created.

You can then either classify the object by the call to the Classify method of the Model object or use it when training a new classification model.



HRESULT CreateObjectFromPage(
  IFRPage*                Page,
  IClassificationObject** Result


IClassificationObject CreateObjectFromPage( IFRPage Page );

Visual Basic .NET

Function CreateObjectFromPage(Page As IFRPage) As IClassificationObject


[in] An FRPage object which will be used to extract the data relevant for classification. Note that if you are going to use the classification object with a classifier which uses text features (CT_Text, CT_Combined), the page should contain some recognized text.
[out, retval] A pointer to the IClassificationObject* pointer variable that receives the interface pointer of the output ClassificationObject object.

Return values

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

See also



24.03.2023 8:51:52

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.