共用方式為


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

Concepts

CPrintInfo Structure

CPrintInfo Members

Hierarchy Chart

CPrintInfo::m_nCurPage

CPrintInfo::m_pPD

CPrintInfo::GetMinPage

CPrintInfo::SetMaxPage

CPrintInfo::SetMinPage