IsPreviewWindowEnabled

 

Returns whether the preview window is enabled or disabled. The preview window lets the user review the printed document and optionally cancel the print job.

 

IsPreviewWindowEnabled (pDevMode As Long) As Boolean

 

Input value pDevMode:

- handle to the BlackIceDEVMODE.

Return value

- TRUE if the preview window is enabled, otherwise FALSE.

 

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.