Freigeben über


CPrintDialog::PrintRange

Determines whether to print only a specified range of pages.

BOOL PrintRange( ) const;

Return Value

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

Remarks

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

Example

See the example for CPrintDialog::m_pd.

Requirements

Header: afxdlgs.h

See Also

Concepts

CPrintDialog Class

CPrintDialog Members

Hierarchy Chart

CPrintDialog::PrintAll

CPrintDialog::PrintSelection

CPrintDialog::GetFromPage

CPrintDialog::GetToPage