Printing

The Printing section of the Toolbox contains controls for adding print functions to the flow - such as Page Setup and Preview.

Page Setup Dialog

The PageSetupDialog printing control provides a dialog allowing a user to manipulate printing and margins; paper orientation, size, and source; as well as show Help and network buttons.

The PageSetupDialog component requires page settings to display, so the Document, PrinterSettings, or PageSettings properties must be set before calling ShowDialog or an exception will occur.

See Page Setup Dialog.

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.

See Print Dialog.

Print Document

The PrintDocument component configures an object that can be reused that sends output to a printer, when printing from a form.

With a PrintDocument component created, properties such as the DocumentName and PrinterSettings can be configured so that when the Print method is called the printing process is started.

See Print Document.

Print Preview Control

The PrintPreviewControl component provides the preview component of print previewing from a form, without any dialogs or buttons. PrintPreviewControl components are usually contained in PrintPreviewDialog components, but this is not a mandatory requirement.

See Print Preview Control.

Print Preview Dialog

The PrintPreviewDialog component provides a dialog that usually contains a PrintPreviewControl for printing from a form. Unlike PrintPreviewControl components, buttons and other dialogs are included in the PrintPreviewDialog.

See Print Preview Dialog.