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.
Structure size. Set it to sizeof(PAGEINFO2)
Page width.
Page height.
Number of bits per pixel.
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. |
Length of one pixel line in bytes.
Horizontal resolution, in dots per inch.
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.
The structure is used by: