PAGESET

The PAGESET structure identifies one or more page-ranges to be printed and, optionally, identifies only the even or odd pages as part of a pageset.

typedef struct tagPAGESET
{
    ULONG cbStruct;
    BOOL fOddPages;
    BOOL fEvenPages;
    ULONG cPageRange;
    [size_is(cPageRange)] PAGERANGE rgPages[]
}PAGESET;
 

Members

cbStruct
The number of bytes in this instance of the PAGESET structure. Must be a multiple of 4.
fOddPages
If TRUE, only the odd-numbered pages in the page-set indicated by rgPages are to be printed.
fEvenPages
If TRUE, only the even-numbered pages in the page-set indicated by rgPages are to be printed.
cPageRange
The number of page-range pairs specified in rgPages.
rgPages
Pointer to an array of PAGERANGE structures specifying the pages to be printed. One or more page ranges can be specified, so long as the number of page ranges is the value of cPageRange. The page ranges must be sorted in ascending order and must be non-overlapping.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in docobj.h.

See Also

PAGERANGE