PreviewPageInfo
Specifies print preview information for a single page. This class cannot be inherited.
using System.Runtime.CompilerServices;
namespace System.Drawing.Printing
{
[NullableContext(1)]
[Nullable(0)]
public sealed class PreviewPageInfo
{
private readonly Image _image;
private Size _physicalSize = Size.Empty;
public Image Image => _image;
public Size PhysicalSize => _physicalSize;
public PreviewPageInfo(Image image, Size physicalSize)
{
_image = image;
_physicalSize = physicalSize;
}
}
}