Freigeben über


CPrintDialog::PrintSelection

Determines whether to print only the currently selected items.

BOOL PrintSelection( ) const;

Return Value

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

Remarks

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

Example

See the example for CPrintDialog::m_pd.

Requirements

Header: afxdlgs.h

See Also

Reference

CPrintDialog Class

Hierarchy Chart

CPrintDialog::PrintRange

CPrintDialog::PrintAll