In This Article

Print Dialogs

SyntaxEditor provides easy access to built-in print dialogs.

The Print Dialog

The Print dialog can be displayed by calling the SyntaxEditor.ShowPrintDialog method.

Screenshot

The Print dialog

This code shows the dialog:

editor.ShowPrintDialog();

The printed content is based on the configuration of the SyntaxEditor.PrintSettings object.

The Print Preview Dialog

The Print Preview dialog can be displayed by calling the SyntaxEditor.ShowPrintPreviewDialog method.

Screenshot

The Print Preview dialog

This code shows the dialog:

editor.ShowPrintPreviewDialog();

The printed content is based on the configuration of the SyntaxEditor.PrintSettings object.