PAGEINFO

typedef struct _tagPageInfo
{
   L_UINT uStructSize;
   L_INT nWidth;
   L_INT nHeight;
   L_INT nBitsPerPixel;
} PAGEINFO, L_FAR * pPAGEINFO;

The PAGEINFO structure contains page information.

Member

Description

uStructSize

Specifies the structure size. It should be equal to sizeof(PAGEINFO)

nWidth

Specifies the page width

nHeight

Specifies the page height

nBitsPerPixel

Specifies the number of bits per pixel (bit depth).

Comments

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

This structure is used with the L_DocGetPageInfo function.