Name
PrintEventArgs
Synopsis
This class encapsulates the data for the
PrintDocument.BeginPrint
and
PrintDocument.EndPrint
events.
If you handle this event, you can cancel the print job by setting the
Cancel
property in this object.
public class PrintEventArgs : System.ComponentModel.CancelEventArgs { // Public Constructors public PrintEventArgs(); }
Hierarchy
System.Object
→ System.EventArgs → System.ComponentModel.CancelEventArgs → PrintEventArgs
Subclasses
QueryPageSettingsEventArgs
Passed To
PrintController.{OnEndPrint()
,
OnStartPrint()}
,
PrintDocument.{OnBeginPrint()
,
OnEndPrint()}
,
PrintEventHandler.{BeginInvoke()
,
Invoke()}
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.