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 for the page
Member | Description | |
uStructSize | Structure size. It should be equal 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. |
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.
This structure is used with the L_Doc2GetPageInfo function.