Share via


CPrintDialogEx::PrintRange

Call this function after calling DoModal to determine whether to print only a range of pages in the document.

BOOL PrintRange( ) const;

Return Value

TRUE if only a range of pages in the document are to be printed; otherwise FALSE.

Remarks

The specified page ranges can be determined from m_pdex (see nPageRanges, nMaxPageRanges, and lpPageRanges in the PRINTDLGEX structure in the Windows SDK).

Requirements

Header: afxdlgs.h

See Also

Reference

CPrintDialogEx Class

Hierarchy Chart

CPrintDialogEx::PrintAll

CPrintDialogEx::PrintCurrentPage

CPrintDialogEx::PrintSelection