PAGERANGE

The PAGERANGE structure specifies a range of pages. 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 of the range. 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 of the range. A special value, 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.

QuickInfo

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

See Also

PAGESET