4 overrides of OnStartPage
System.Drawing.Common (2)
Special\NotSupported.cs (2)
2939
public override System.Drawing.Graphics
OnStartPage
(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
3170
public override System.Drawing.Graphics
OnStartPage
(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (1)
System\Drawing\Printing\PrintDocumentTests.cs (1)
279
public override Graphics
OnStartPage
(PrintDocument document, PrintPageEventArgs e)
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (1)
66
public override Graphics?
OnStartPage
(PrintDocument document, PrintPageEventArgs e)
5 references to OnStartPage
System.Drawing.Common.Tests (3)
System\Drawing\Printing\PrintControllerTests.cs (3)
23
Assert.Null(controller.
OnStartPage
(document, printEventArgs));
37
Assert.Null(controller.
OnStartPage
(document, new PrintPageEventArgs(null, Rectangle.Empty, Rectangle.Empty, null)));
38
Assert.Null(controller.
OnStartPage
(null, null));
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (2)
68
base.
OnStartPage
(document, e);
72
Graphics? result = _underlyingController.
OnStartPage
(document, e);