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.
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.
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.