When using the print preview, this method scales the screen resolution to the resolution of the output printer.
[C++Builder] [ bool =
]imagekitcontrolname->PrintDraw->PreviewInit(HDC
pDC, HDC dDC)
[Delphi] [ Boolean =
]imagekitcontrolname.PrintDraw.PreviewInit(pDC,
dDC: HDC)
Parameters
Name | Explanation |
---|---|
phDC | The device context of the output printer |
dhDC | The device context of the preview screen |
Return Value
Returns True if successful. Returns False if unsuccessful.
Explanation
When using the print preview, the PreviewInit method scales the screen resolution to the resolution of the output printer.