<PackageReference Include="System.Drawing.Common" Version="9.0.5" />

PrintEventArgs

Provides data for the BeginPrint and EndPrint events.
using System.ComponentModel; namespace System.Drawing.Printing { public class PrintEventArgs : CancelEventArgs { public PrintAction PrintAction { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public PrintEventArgs() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }