Print Dialog

The PrintDialog component provides a standard print dialog box that configures the print job and queue according to input from the user and then prints a document.

Properties

The key properties for the PrintDialog component include:

  • AllowPrintToFile. Specifies whether the Print to file check box is enabled to allow printing of the job to a file instead of a printer.

  • Document. Specifies the PrintDocument component used to obtain the Print Settings for the dialog.

  • PrintToFile. Specifies whether the Print to file check box is selected by default.

  • ShowNetwork. Indicates whether the Network button is displayed, allowing the selection of a network printer for the print job.

Events

Events can be configured for the PrintDialog to specify the behaviour of the control. For example, an action can be configured to occur when a user clicks the Help button using the HelpRequest event property.

For information on configuring events and other components of the design using a script, see: Working with Scripts.

Adding a PrintDialog

When you drag a PrintDialog component from the Toolbox to a form in Flow Designer, it will appear as an entry in the design space. You can select the control and configure it using the Properties pane.

More information on the PrintDialog component can be viewed at the link to Microsoft® Documentation.