Поделиться через


CPrintInfo::GetToPage

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

UINT GetToPage( ) const;

Возвращаемое значение

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.

Требования

Header: afxext.h

См. также

Основные понятия

CPrintInfo Structure

CPrintInfo Members

Hierarchy Chart

CPrintInfo::m_nCurPage

CPrintInfo::m_pPD

CPrintInfo::GetFromPage