OCR_AddInputField

<< Click to Display Table of Contents >>

Navigation:  OCR Module > Input List Handling >

OCR_AddInputField


 

PRO SDK Icon OCR_AddInputField

 


 

OCR_AddInputField adds new PXO_InputField structures to a PXO_InputFields structure. These structures determine settings for OCR. Please note that all elements are case-sensitive:

 

HRESULT OCR_AddInputField(

PXO_InputFields InFields,

PXO_InputField InField,

);

 

Parameters

 

InFields

The PXO_Pagelist variable that OCR_NewInputFields created.

 

InField

A PXO_InputField structure to add to the list.

 

Return Values

 

If the function succeeds then the return value is OCR_OK

 

If the function fails then the return value is an error code.

 

Comments

 

BSTR members of PXO_InputField will be reallocated (copied) when added to the internal PXO_InputFields list. This means that SysFreeString() can be used to deallocate the BSTR members of InField without impacting the internal PXO_InputFields list.