Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS OCR C DLL Help

L_Doc2SetFillMethod

Show in webframe

#include "ltdoc2.h"

L_LTDOC2_API L_INT EXT_FUNCTION L_Doc2SetFillMethod(hDoc, FillMethod)

L_HDOC2 hDoc;

/* handle to the OCR document */

DOC2_FILLMETHOD FillMethod;

/* fill method to be set */

Sets the default fill method to the OCR document engine

Parameter

Description

hDoc

Handle to the OCR document.

FillMethod

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

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Specifies the default fill method for the engine. 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

LTDOC2

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_Doc2GetFillMethod, L_Doc2FindDefaultFillMethod, L_Doc2CleanupPages

Topics:

OCR Functions: Pages

 

Working with Pages

Example

For an example, refer to L_Doc2StartUp.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.