When using the print preview, this function scales the screen resolution to the resolution of the output printer.
[C++Builder] BOOL
IKPreviewInit(HDC phDC, HDC dhDC);
[Delphi] function
IKPreviewInit(phDC, dhDC: HDC): LongBool;
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.