When using the print preview, this method scales the screen resolution to the resolution of the output printer.

[Visual Basic]   [ Boolean = ]imagekitcontrolname.PrintDraw.PreviewInit(phDC As Long, dhDC As Long)
[Visual C++]     [ BOOL = ]imagekitcontrolname.GetPrintDraw().PreviewInit(long phDC, long dhDC)

Parameters

Name Explanation
phDC The device context of the output printer
dhDC The device context of the preview screen

Return Value

Returns True (nonzero) if successful. Returns False (0) if unsuccessful.

Explanation

When using the print preview, the PreviewInit method scales the screen resolution to the resolution of the output printer.

 

The ImageKit8 ActiveX is a product created by Newtone Corporation