#include “BlackIceDEVMODE.h”
DWORD GetWatermarkPosition (BlackIceDEVMODE* pDevMode, BOOL bPortrait);
Description
Gets the position of the watermark image.
Parameters
BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure.
BOOL bPortrait - If this parameter is TRUE, you get the position of the watermark for portrait pages, otherwise you get the position of the watermark for landscape pages.
Return value
The value of the position.
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)
Programming Notes
None
Code Example
None