PrintPageEventArgs
Provides data for the PrintPage event.
using System.Runtime.CompilerServices;
namespace System.Drawing.Printing
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public class PrintPageEventArgs : EventArgs
{
public bool Cancel {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
set {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
[System.Runtime.CompilerServices.Nullable(2)]
public Graphics Graphics {
[System.Runtime.CompilerServices.NullableContext(2)]
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public bool HasMorePages {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
set {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public Rectangle MarginBounds {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public Rectangle PageBounds {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public PageSettings PageSettings {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public PrintPageEventArgs([System.Runtime.CompilerServices.Nullable(2)] Graphics graphics, Rectangle marginBounds, Rectangle pageBounds, PageSettings pageSettings)
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
}