L_LTDOC2_API L_INT L_Doc2ExportZonesExt(hDoc, nDocId, nPageIndex, pszFileName)
Exports the user zone list of the specified page to a zone file.
Handle to the OCR document.
The Document ID created by calling L_Doc2CreateDocument.
Zero-based page index from which to export the zones.
Character string containing the name of the zone file to export.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
L_Doc2ExportZonesExt overwrites any pre-existing zone file having the same name. The zone coordinates are saved in the zone file in units of 1/1200 of an inch.
This function does not save OCR zones: only user zones are saved.
Required DLLs and Libraries
For an example, refer to L_Doc2ImportZonesExt.