PAGERANGE

Specifies a range of pages that begins and ends with page numbers that are selected by an end-user. The rgPageRange member of the PAGESET structure is a structure of type PAGERANGE.

typedef struct tagPAGERANGE
{
    LONG nFromPage;
    LONG nToPage;
}PAGERANGE;
 

Members

nFromPage
The first page to print. This member can have any page number as a value.If this value is greater than the value specified in nToPage, the document will be printed in reverse page order.
nToPage
The last page to print. A special value of PAGESET_TOLASTPAGE indicates that all the remaining pages should be printed. This member can have any page number as a value.If this value is less than the value specified in nFromPage, the document will be printed in reverse page order.

See Also

PAGESET