System.Drawing.Printing.PreviewPrintController.GetPreviewPageInfo Method

Captures the pages of a document as a series of images.

Syntax

public PreviewPageInfo[] GetPreviewPageInfo ()

Returns

An array of type System.Drawing.Printing.PreviewPageInfo that contains the pages of a System.Drawing.Printing.PrintDocument as a series of images.

Remarks

You can use the System.Drawing.Printing.PrintDocument image representation contained in a System.Drawing.Printing.PreviewPageInfo to implement your own print preview form.

Requirements

Namespace: System.Drawing.Printing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0