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

[C++Builder/Visual C++]     BOOL IKPreviewInit(HDC phDC, HDC dhDC);
[Delphi]         function IKPreviewInit(phDC, dhDC: HDC): LongBool;
[Visual Basic]   Function IKPreviewInit(ByVal phDC As Long, ByVal dhDC As Long) As Long

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 IKPreviewInit function scales the screen resolution to the resolution of the output printer.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation