CPrintInfo::GetToPage

UINTGetToPage() const;

Return Value

The number of the last page to be printed.

Remarks

Call this function to retrieve the number of the last page to be printed. This is the value specified by the user in the Print dialog box, and it is stored in the CPrintDialog object referenced by the m_pPD member. If the user has not specified a value, the default is the last page of the document.

CPrintInfo OverviewClass MembersHierarchy Chart

See Also   CPrintInfo::m_nCurPage, CPrintInfo::m_pPD, CPrintInfo::GetFromPage