PAGERANGE structure (docobj.h)

Specifies a range of pages.

Syntax

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.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header docobj.h

See also

PAGESET