<PackageReference Include="System.Drawing.Common" Version="9.0.0-preview.7.24405.4" />

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); } } }