SetTextStampPosition

 

Sets the Text Stamp or Text Watermark text alignment.

SetTextStampPosition (pDevMode As Long, lPosition As Long) As Boolean

 

Input value    - handle to the BlackIceDEVMODE structure

Input value     - New text alignment. Possible values:

0: The text will be aligned to Top Left

1: The text will be aligned to Top Right

2: The text will be aligned to Center

3: The text will be aligned to Bottom Left

4: The text will be aligned to Bottom Right

Return value - TRUE on success, FALSE otherwise.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.