System.Drawing.Printing.PreviewPrintController.OnStartPrint Method

Begins the control sequence that determines when and how to preview a print document.

Syntax

public override void OnStartPrint (PrintDocument document, PrintEventArgs e)

Parameters

document
A System.Drawing.Printing.PrintDocument that represents the document being previewed.
e
A System.Drawing.Printing.PrintEventArgs that contains data about how to print the document.

Remarks

Requirements

Namespace: System.Drawing.Printing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0