SetPreviewWindowOverlay

Sets the full path to the preview overlay image. The overlay image is displayed on top of the preview. It is not placed on the final output document. The “Show Preview Window” option must be enabled. The overlay image is not scaled to the page size, the overlay must be the correct size for the selected paper size.

 

The supported file types are PNG (Including 32-bit transparent PNG files), Jpeg, BMP, and TIFF.

 

SetPreviewWindowOverlay (pDevMode As Long, pValue As String) As Boolean

 

Input value   

- Handle to the BlackIceDEVMODE structure.

Input value   

- Full path to the overlay file.

Return value

- TRUE on success, FALSE otherwise.

 

 

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