.NET Windows Forms in a Nutshell

PreviewPageInfo

System.Drawing.Printing (system.drawing.dll) sealed class

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()

Категории