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

PreviewPageInfo

public sealed class PreviewPageInfo
Specifies print preview information for a single page. This class cannot be inherited.
using System.Runtime.CompilerServices; namespace System.Drawing.Printing { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public sealed class PreviewPageInfo { public Image Image { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public Size PhysicalSize { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public PreviewPageInfo(Image image, Size physicalSize) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }