StandardPrintController
Specifies a print controller that sends information to a printer.
using System.Runtime.CompilerServices;
namespace System.Drawing.Printing
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public class StandardPrintController : PrintController
{
public StandardPrintController()
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
public override void OnEndPage(PrintDocument document, PrintPageEventArgs e)
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
public override void OnEndPrint(PrintDocument document, PrintEventArgs e)
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
public override Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e)
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
public override void OnStartPrint(PrintDocument document, PrintEventArgs e)
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
}