SetPreviewWindowOverlay

 

 

#include “BlackIceDEVMODE.h”

 

BOOL             SetPreviewWindowOverlay (BlackIceDEVMODE* pBlackIceDevMode, LPCTSTR pStr);

 

Description

 

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.

 

Parameters

 

BlackIceDEVMODE* pDevMode  

 Pointer to the BlackIceDEVMODE structure.

LPTSTR pStr                                

 Full path to the overlay image.

 

 

Return value

 

TRUE on success, otherwise FALSE.

 

Programming Notes

 

None

 

Code Example

 

None