ShowPrintDialog

This property sets or returns whether the Print dialog is displayed before printing.

Use this property to switch between Interactive and Non-Interactive mode.

The default value is True, that is the dialog is displayed.

Note: In Non-Interactive mode, the printer used is the default printer connected to the user's computer and all default properties are used. You cannot set the properties programmatically as in Interactive mode.

Syntax

ShowPrintDialog As Boolean

Example

The following sample code shows how to set the non-interactive mode by choosing not to display the Print Dialog box.

'Hide the Print dialog. PrintObject.ShowPrintDialog = false ' After hiding the
				print dialog box, the printing of a CroImage or CroCIDOC object (with or without '
				annotations) to the printer or an image (Single page or Multi-page) can be done
				using the same code as in Interactive mode.