L_LTDOC2_API L_INT L_Doc2UpdateZoneExt(hDoc, nDocId, nPageIndex, nZoneIndex, pZoneData)
Updates the zone data of a single zone in the zone list.
Handle to the OCR document.
Document ID created by calling L_Doc2CreateDocument.
Zero-based index of the page that contains the zone to be updated.
Zero-based index of the zone to be updated.
Pointer to the ZONEDATA2 structure that contains information used to update the zone.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
When adding a zone, the application should directly initialize the following members of ZONEDATA2 structure, since these members do not take default values:
The Type member of the ZONEDATA2 structure should be one of the following values:
The index of the first zone in the zone list is zero (0).
You can update all ZONEDATA2 members for user zones.
Required DLLs and Libraries
For an example, refer to L_Doc2GetZoneExt.