Displays the standard .NET print preview form.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public void PrintPreview () |
Visual Basic Copy Code |
---|
Public Sub PrintPreview () |
The preview output is rendered with the same settings that are used for printing, assigned via the PrintOptions structure. That ensures uniform output of the printed document both on paper and in the preview mode. Print job settings include document title and several flags that control whether images, shadows, headers, and so on, are printed.
The second overloaded method allows attaching print-event handlers to a PrintDocument and doing custom printing in addition to the MindFusion.Diagramming standard output.