L_DocSetFillMethod

#include "ltdoc.h"

L_LTDOC_API L_INT L_DocSetFillMethod(hDoc, FillMethod)

L_HDOC hDoc;

/* handle to the OCR document */

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 FILLMETHOD.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Specifies the default filling method for the engine. The default filling method is applied to all zones on the page with the FILL_DEFAULT value in the ZONEDATA.FillMethod field.

Required DLLs and Libraries

LTDOC

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_DocGetFillMethod, L_DocFindDefaultFillMethod, L_DocCleanupPages

Topics:

OCR Functions: Pages

 

Working with Pages

Example

For an example, refer to L_DocStartUp.