PAGEINFO2

typedef struct _tagPageInfo2 
{ 
   L_UINT uStructSize; 
   L_INT nWidth; 
   L_INT nHeight; 
   L_INT nBitsPerPixel; 
   L_BOOL bPalette; 
   L_UINT uBytesPerLine; 
   L_INT nXRes; 
   L_INT nYRes; 
} PAGEINFO2, * pPAGEINFO2; 

The PAGEINFO2 structure provides information about the page.

Members

uStructSize

Structure size. Set it to sizeof(PAGEINFO2)

nWidth

Page width.

nHeight

Page height.

nBitsPerPixel

Number of bits per pixel.

bPalette

Specifies whether the page has a palette. Possible values are:

Value Meaning
TRUE The Page has a palette.
FALSE The Page does not have a palette.

uBytesPerLine

Length of one pixel line in bytes.

nXRes

Horizontal resolution, in dots per inch.

nYRes

Vertical resolution, in dots per inch.

Comments

pPAGEINFO2 is a pointer to a PAGEINFO2 structure. If the function parameter type is pPAGEINFO2, declare a PAGEINFO2 variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pPAGEINFO2 variable is necessary only if the program requires a pointer.

The structure is used by:

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help