CPrintInfo::GetMaxPage
Call this function to retrieve the number of the last page of the document.
UINT GetMaxPage( ) const;
Возвращаемое значение
The number of the last page of the document.
Заметки
This value is stored in the CPrintDialog object referenced by the m_pPD member.
Требования
Header: afxext.h