PreviewPrintController.GetPreviewPageInfo Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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.

PrintingPermission

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

.NET Framework
Available since 1.1
Return to top
Show: