L_LTDOC2_API L_INT L_Doc2GetPaintZoomFactorExt(hDoc, nDocId, nPageIndex, pfZoomFactor)
Gets the zoom factor used to draw the specified OCR page.
Handle to the OCR document.
Document ID created by calling L_Doc2CreateDocument.
Zero-based index of the page for which to get the zoom factor.
Pointer to a variable to be updated with the zoom factor for the specified page. The default value is 100. A value of 100 represents normal display, a value of 200 represents a 2X display, a value of 50 represents a 1/2X display, etc.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
L_Doc2GetPaintZoomFactorExt retrieves the zoom factor that was set using the L_Doc2SetPaintZoomFactor function. If L_Doc2GetPaintZoomFactorExt is called before the L_Doc2SetPaintZoomFactor / L_Doc2SetPaintZoomFactorExt function has been called, pfZoomFactor will be updated with the default value of 100, which represents normal display.
The specified page may or may not contain zones. If the page has zones, the zones are also be drawn using the same zoom factor.
Required DLLs and Libraries
For an example, refer to L_Doc2SetPaintZoomFactorExt.