L_LTDOC2_API L_INT L_Doc2SelectZoneExt(hDoc, hDC, nDocId, nPageIndex, nZoneIndex, bSelect)
Selects or deselects the specified zone in the specified page, and draws the results onto the specified device context L_HDOC2.
Handle to the OCR document.
Handle to a device context, such as a screen, to use as the display surface. The mapping mode of the device context must be MM_TEXT.
Document ID created by calling L_Doc2CreateDocument.
Zero-based index of the page, which contains the zone.
Zero-based index of the zone that will be selected or deselected.
Flag that determines the function behavior. Possible values are:
|TRUE||Select the zone specified by the nZoneIndex parameter.|
|FALSE||Deselect the zone specified by the nZoneIndex parameter.|
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Required DLLs and Libraries
For an example, refer to L_Doc2DrawPageExt.