<< Click to Display Table of Contents >> Navigation: OCR Module > Low-Level Functions > OCRp_RegionCountFromPage |
OCRp_RegionCountFromPage returns the number of regions in the specified page. Please note that all elements are case-sensitive:
HRESULT OCRp_RegionCountFromPage(
PXO_Page PageResults,
ULONG* pRegionCount
);
PageResults
Specifies the PXO_Page object that contains the results from which to retrieve the region count.
pRegionCount
This parameter is a pointer to a ULONG variable that contains the region count.
If the function succeeds then the return value is DS_OK.
If the function fails then the return value is an error code.