#include “BlackIceDEVMODE.h”
BOOL SetWatermarkPosition (BlackIceDEVMODE* pDevMode, DWORD dwPosition, BOOL bPortrait);
Description
Sets the position of the watermark image.
Parameters
BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure.
DWORD dwPosition - Position (DWORD).
Available values:
BLF_WATERMARK_POSITION_STRETCH_TO_FIT (1),
BLF_WATERMARK_POSITION_STRETCH_TO_WIDTH (2),
BLF_WATERMARK_POSITION_CENTER (4),
BLF_WATERMARK_POSITION_TILE (8),
BLF_WATERMARK_POSITION_BOTTOM (16),
BLF_WATERMARK_POSITION_BOTTOM_STRETCH (32),
BLF_WATERMARK_POSITION_TOP (64),
BLF_WATERMARK_POSITION_TOP_STRETCH (128),
BLF_WATERMARK_POSITION_TOP_LEFT (320),
BLF_WATERMARK_POSITION_TOP_RIGHT (576),
BLF_WATERMARK_POSITION_BOTTOM_LEFT (272),
BLF_WATERMARK_POSITION_BOTTOM_RIGHT (528)
BOOL bPortrait - If this parameter is TRUE, you set the position of the watermark for portrait pages, otherwise you set the position of the watermark for landscape pages.
Return value
TRUE on success, otherwise FALSE.
Programming Notes
None
Code Example
None