Syntax:
INT LlPreviewDisplay (HLLJOB hJob, LPCTSTR lpszObjName, LPCTSTR lpszPath, HWND hWnd);
Task:
Starts the preview window.
Parameter:
hJob: List & Label job handle
lpszObjName: Valid file name with file extension and without path name
lpszPath: Valid path of the preview files ending with a backslash "\".
hWnd: Window handle of the calling program
Return Value:
Error code
Hints:
The preview is a window that can be started independently of the Designer and shows the data that has been printed by the preview print process.
LlPreviewDisplay() calls LlPreviewDisplayEx() with LL_PRVOPT_PRN_ASKPRINTERIFNEEDED.
See also:
LlPrintStart, LlPrintWithBoxStart, LlPreviewDeleteFiles, LlPrintEnd, LlPreviewSetTempPath, LlPreviewDisplayEx