Share via


CPrintInfo::GetMaxPage

Call this function to retrieve the number of the last page of the document.

UINT GetMaxPage( ) const;

Return Value

The number of the last page of the document.

Remarks

This value is stored in the CPrintDialog object referenced by the m_pPD member.

Requirements

Header: afxext.h

See Also

Reference

CPrintInfo Structure

Hierarchy Chart

CPrintInfo::m_nCurPage

CPrintInfo::m_pPD

CPrintInfo::GetMinPage

CPrintInfo::SetMaxPage

CPrintInfo::SetMinPage