Gets the position of the watermark image.
GetWatermarkPosition (pDevMode As Long, Portrait As Boolean) As Long
Input value:pDevMode - handle to the BlackIceDEVMODE structure.
Input value:Portrait - 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)
NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.