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


CPrintDialog::PrintSelection

Determines whether to print only the currently selected items.

BOOL PrintSelection( ) const;

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

Nonzero if only the selected items are to be printed; otherwise 0.

Заметки

Call this function after calling DoModal to determine whether to print only the currently selected items.

Пример

See the example for CPrintDialog::m_pd.

Требования

Header: afxdlgs.h

См. также

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

CPrintDialog Class

CPrintDialog Members

Hierarchy Chart

CPrintDialog::PrintRange

CPrintDialog::PrintAll