Udostępnij za pośrednictwem


CPrintInfo::GetToPage

Call this function to retrieve the number of the last page to be printed.

UINT GetToPage( ) const;

Return Value

The number of the last page to be printed.

Remarks

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.

Requirements

Header: afxext.h

See Also

Reference

CPrintInfo Structure

Hierarchy Chart

CPrintInfo::m_nCurPage

CPrintInfo::m_pPD

CPrintInfo::GetFromPage

Other Resources

CPrintInfo Members