<< Click to Display Table of Contents >> Navigation: OCR Module > OCR Library Types > OCR_RasterPageSettings |
OCR_RasterPageSettings converts PDF coordinates to/from rasterized page image coordinates. OCRp_RasterRectToPDF utilizes this structure and OCRp_Page and OCRp_Field return it. Please note that members are case-sensitive:
MEMBER
|
TYPE
|
MEANING |
imgDPI
|
int
|
The DPI of the rasterized page image that the internal OCR engine uses.
|
scalefactor
|
double
|
The factor used for the conversion of page size and coordinates (in points) to/from the rasterized page size and coordinates (in DPI). The value of this member is the input DPI divided by 72.
|
pdfwidth
|
double
|
The width (in points) of the PDF page.
|
pdfheight
|
double
|
The height (in points) of the PDF page.
|
imgwidth
|
int
|
The width (in pixels) of the rasterized image.
|
imgheight
|
int
|
The height (in pixels) of the rasterized image.
|
See Regional OCR Comments for further information.