PreviewPrintController.GetPreviewPageInfo Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public PreviewPageInfo[] GetPreviewPageInfo()

Return Value

Type: System.Drawing.Printing.PreviewPageInfo[]

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

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


for safe printing from a restricted dialog box. Associated enumeration: PrintingPermissionLevel.SafePrinting

.NET Framework
Available since 1.1
Return to top