#include "ltdoc2.h"
L_LTDOC2_API L_INT L_Doc2SetFillMethodExt(hDoc, nDocId, FillMethod)
Sets the default fill method to the OCR document engine.
Handle to the OCR document.
Document ID created by calling L_Doc2CreateDocument.
Fill method to be set. For a list of possible values, refer to DOC2_FILLMETHOD.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
The default filling method is applied to all zones on the page with the DOC2_FILL_DEFAULT value in the ZONEDATA2.FillMethod field.
Required DLLs and Libraries
For an example, refer to L_Doc2CreateDocument.