L_Doc2SetFillMethodExt

#include "ltdoc2.h"

L_LTDOC2_API L_INT L_Doc2SetFillMethodExt(hDoc, nDocId, FillMethod)

Sets the default fill method to the OCR document engine.

Parameters

L_HDOC2 hDoc

Handle to the OCR document.

L_INT nDocId

Document ID created by calling L_Doc2CreateDocument.

DOC2_FILLMETHOD FillMethod

Fill method to be set. For a list of possible values, refer to DOC2_FILLMETHOD.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help