PXO_InputField

<< Click to Display Table of Contents >>

Navigation:  OCR Module > OCR Library Types >

PXO_InputField


 

PRO SDK Icon PXO_InputField

 


 

PXO_Inputfield is an input structure for OCR. PDF page coordinates are used and start at (0,0) - the lower left corner of the page. Points are the units of measurement (1/72 inch). Please note that all elements are case-sensitive:

 

 

MEMBER

 

 

TYPE

 

MEANING

 

Left

 

 

Double

 

 

Left boundary of input field rectangle on page.

 

 

Bottom

 

 

Double

 

 

Bottom boundary of input field rectangle on page.

 

 

Right

 

 

Double

 

 

Right boundary of input field rectangle on page.

 

 

Top

 

 

Double

 

 

Top boundary of input field rectangle on page.

 

 

nPage

 

 

DWORD

 

 

The page number of the input PDF on which to OCR the zonal region.

 

 

Whitelist

 

 

BSTR

 

 

Optional character whitelist. Can be NULL (no whitelist).

 

 

Blacklist

 

 

BSTR

 

 

Optional character blacklist. Can be NULL (no blacklist).

 

 

Label

 

 

BSTR

 

 

Optional field label. This member is not yet used internally, but can be used to track the meaning of OCR output fields (e.g. database field names) for other elements of development.

 

 

Please note:

 

SysAllocString() must be used to allocate BSTR variables.

SysFreeString() must be used to deallocate BSTR variables.

SDK functions that take PXO_InputField structures as input store BSTR members internally as copies.

SDK functions that return a PXO_InputField structure allocate a new BSTR for the relevant members. SysFreeString() must be used to deallocate these members.