PXO_FieldInputFlags

<< Click to Display Table of Contents >>

Navigation:  OCR Module > OCR Library Types >

PXO_FieldInputFlags


 

PRO SDK Icon PXO_FieldInputFlags

 


 

PXO_FieldInputFlags is an enumerated type that determines the style of input coordinates that PXO_InputField uses. This determines how the numerical values of the “bottom” and “top” components of coordinates are interpreted relative to the page. PXO_Origin_BottomLeft is the default value. The PDF-XChange OCR SDK interpreted fields in this manner prior to version 1.0.5 of the DLL, in which the alternative option was introduced. Please note that constants are case-sensitive:

 

 

CONSTANT

 

 

VALUE

 

MEANING

 

PXO_Origin_BottomLeft

 

 

0x0000

 

 

This constant uses the bottom left corner of the PDF page as the origin. If the value for Y increases then the location moves towards the top of the page.

 

 

PXO_Origin_TopLeft

 

 

0x0001

 

 

This constant uses the top left corner of the PDF page as the origin. If the value for Y increases then the location moves towards the bottom of the page.

 

Windows API uses this style of coordinates. It is useful when fields need to be assigned relative to the top of the page, especially in cases where a flatbed scanner is used to scan a series of documents that are aligned from the top corner.