Share via


CPrintDialog::PrintAll

Determines whether to print all pages of the document.

BOOL PrintAll( ) const;

Return Value

Nonzero if all pages in the document are to be printed; otherwise 0.

Remarks

Call this function after calling DoModal to determine whether to print all pages in the document.

Example

See the example for CPrintDialog::m_pd.

Requirements

Header: afxdlgs.h

See Also

Reference

CPrintDialog Class

Hierarchy Chart

CPrintDialog::PrintRange

CPrintDialog::PrintSelection