OCRp_PageText

<< Click to Display Table of Contents >>

Navigation:  OCR Module > Low-Level Functions >

OCRp_PageText


 

PRO SDK Icon OCRp_PageText

 


 

OCRp_PageText converts OCR results from the specified PXO_Page structure into plain text. Please note that all elements are case-sensitive:

 

HRESULT OCRp_PageText(

PXO_Page PageResults,

BSTR* bstrTextOut

);

 

Parameters

 

PageResults

Specifies the PXO_Page object that contains the results to convert to text.

 

bstrTextOut

This parameter is a pointer to a new BSTR variable that will contain the text output of the function. SysFreeString() must be used to free this parameter when this process is complete.

 

Return Values

 

If the function succeeds then the return value is DS_OK.

 

If the function fails then the return value is an error code.