PtrDevice:CollateCopies Access/Assign
<< Click to Display Table of Contents >> PtrDevice:CollateCopies Access/Assign |
![]() ![]() ![]() |
Type | Logic |
Purpose
To get/set the COLLATE bit of the PRINTDLG.FLAGS member.
The access returns TRUE if the PRINTDLG structure FLAGS member has the COLLATE bit set. When queried after the Print Dialog Window is shown, it indicates that the user selected the Collate Copies check box.
The assign sets (or clears) the COLLATE bit of the PRINTDLG.FLAGS member. It forces the Collate Copies check box to be selected when the Print Dialog Window is presented.
Example
// Set the Collate Copies checkbox
oPtrDevice:CollateCopies := True
oPtrDevice:ShowPrintDlg()
Note: Collation is handled automatically by the PtrDevice class