PreviewPrintController
Specifies a print controller that displays a document on a screen as a series of images.
using System.Runtime.CompilerServices;
namespace System.Drawing.Printing
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public class PreviewPrintController : PrintController
{
public override bool IsPreview {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public virtual bool UseAntiAlias {
get {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
set {
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
}
public PreviewPrintController()
{
throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported);
}
public PreviewPageInfo[] GetPreviewPageInfo()
{
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);
}
}
}