version 6.0
DR PRINT FOREGROUND (area; message; printDialog)
| Parameter | Type | Description | |
| area | Longint | 4D Draw area | |
| message | Integer | 0 = Message off, 1 = Message on | |
| printDialog | Integer | 0 = Without dialog box, 1 = With dialog box |
Description
The command DR PRINT FOREGROUND is the reverse of the DR PRINT BACKGROUND command; it lets you print only objects that appear on the foreground.
If message equals 1, a dialog box appears, allowing the user to cancel the printing in progress. If the user cancels the print job, DR Error returns error 55.
If message equals 0, this dialog box does not appear, and the user cannot cancel the print job.
printDialog determines whether or not the standard Print File dialog box will appear.
If printDialog equals 0, the standard Print File dialog box does not appear, and the print job begins immediately.
If printDialog equals 1, the standard Print File dialog box appears.
See Also