#include "ltdoc2.h"
L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2SetActivePage(hDoc, nPageIndex)
Sets the active page that will be drawn by the L_Doc2DrawPage / L_Doc2DrawPageExt function.
Handle to the OCR document.
Index of the page that will be drawn. This index is zero-based.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
For an example, refer to L_Doc2DrawPage.