Name

PreviewPageInfo

Synopsis

This class encapsulates the information required for the print preview of a single page.

You can retrieve an Image representing the page to be printed and the PhysicalSize of that page (in units of 1/100th inch).


public sealed class PreviewPageInfo {

// Public Constructors

   public PreviewPageInfo(System.Drawing.Image image, System.Drawing.Size physicalSize);

// Public Instance Properties

   public Image Image{get; }

   public Size PhysicalSize{get; }

}

Returned By

PreviewPrintController.GetPreviewPageInfo()

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.