FIND_CANDIDATE_FORM_FIELDS_OPTIONS (original) (raw)

Summary

Provides the options needed for extracting the candidate form fields.

Syntax

typedef struct FIND_CANDIDATE_FORM_FIELDS_OPTIONS { [L_UINT](leadtools-basic-data-types.html) uStructSize; [L_UINT](leadtools-basic-data-types.html) uHorizontalLineMinimumLength; [L_UINT](leadtools-basic-data-types.html) uVerticalLineMinimumLength; } FIND_CANDIDATE_FORM_FIELDS_OPTIONS, * pFIND_CANDIDATE_FORM_FIELDS_OPTIONS;

Members

L_UINT uStructSize

Size of this structure in bytes, for versioning. Use the sizeof(FIND_CANDIDATE_FORM_FIELDS_OPTIONS) operator to calculate this value.

L_UINT uHorizontalLineMinimumLength

Minimum length of the horizontal line, relative to the image width that can be detected.

L_UINT uVerticalLineMinimumLength

Minimum length of the vertical line, relative to the image height that can be detected.

Comments

The value of the uHorizontalLineMinimumLength or uVertictalLineMinimumLength parameters should be between 1 to 100. The L_FindCandidateFormFields will return the ERROR_INV_PARAMETER error code if the value is < 1 or > 100.

Usage

LEADTOOLS Raster Imaging C API Help