System.Drawing.Printing.PrintPageEventArgs
Provides data for the PrintPage event.
namespace System.Drawing.Printing
{
public class PrintPageEventArgs : EventArgs
{
public bool Cancel { get; set; }
public Graphics Graphics { get; }
public bool HasMorePages { get; set; }
public Rectangle MarginBounds { get; }
public Rectangle PageBounds { get; }
public PageSettings PageSettings { get; }
public PrintPageEventArgs(Graphics graphics, Rectangle marginBounds, Rectangle pageBounds, PageSettings pageSettings);
}
}