GetWatermarkFirstImageBrightness

 

 

#include “BlackIceDEVMODE.h”

 

DWORD                    GetWatermarkFirstImageBrightness (BlackIceDEVMODE* pDevMode, BOOL bPortrait);

Description

Gets the brightness of the watermark image. This image will be the watermark on the first printed image, when the ‘Unique watermark on the first page’ option is enabled. The brightness of the watermark image file is stored in the registry under the HKEY_CURRENT_USER key.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

BOOL bPortrait                                             - If this parameter is TRUE, you get the brightness of the watermark for portrait pages, otherwise you get the brightness of the watermark for landscape pages.

Return value

The value of the brightness.

Programming Notes

None

Code Example

None