共用方式為


CPrintDialog::GetCopies

Retrieves the number of copies requested.

int GetCopies( ) const;

Return Value

The number of copies requested.

Remarks

Call this function after calling DoModal to retrieve the number of copies requested.

Example

See the example for CPrintDialog::PrintCollate.

Requirements

Header: afxdlgs.h

See Also

Reference

CPrintDialog Class

Hierarchy Chart

CPrintDialog::PrintCollate