Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- page
- The number of the page you wish to retrieve. Page numbers start with 1 and cannot exceed the current Page property setting.
Return Value
A handle to the print preview Device Independent Bitmap (DIB).The DIB returned by GetPrintPreviewDib is a copy of the bitmap used by the PrintPro control. After using the DIB, you are responsible for deleting it. GetPrintPreviewDib will return IntPtr.Zero if a bitmap does not exist.