Partager via


CPrintDialog::GetToPage

Retrieves the ending page of the print range.

int GetToPage( ) const;

Return Value

The ending page number in the range of pages to be printed.

Remarks

Call this function after calling DoModal to retrieve the ending page number in the range of pages to be printed.

Example

See the example for CPrintDialog::m_pd.

Requirements

Header: afxdlgs.h

See Also

Reference

CPrintDialog Class

Hierarchy Chart

CPrintDialog::GetFromPage

CPrintDialog::PrintRange