Accusoft.PrintPro8.Net
GetPrintPreviewDib Method




The number of the page you wish to retrieve. Page numbers start with 1 and cannot exceed the current Page property setting.
Obtain the print preview dib for a specified page.
Syntax
'Declaration
 
Public Function GetPrintPreviewDib( _
   ByVal page As Integer _
) As IntPtr
'Usage
 
Dim instance As PrintPreviewJob
Dim page As Integer
Dim value As IntPtr
 
value = instance.GetPrintPreviewDib(page)
public IntPtr GetPrintPreviewDib( 
   int page
)
public: IntPtr GetPrintPreviewDib( 
   int page
) 
public:
IntPtr GetPrintPreviewDib( 
   int page
) 

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).
Remarks

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.

See Also

Reference

PrintPreviewJob Class
PrintPreviewJob Members

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback