SetTextStampOffsetUnits

 

Sets the used units for the Text Stamp or Text Watermark offset.

SetTextStampOffsetUnits (pDevMode As Long, lUnits As Long) As Boolean

 

Input value    - Handle to the BlackIceDEVMODE structure

Input value    - New text offset units. Possible values of the variable:

                                              0: The offset unit is 0.1 * mm

                                              1: The offset unit is 0.01 * inch

                                              2: The offset unit is 1 pixel

Return value - TRUE on success, FALSE otherwise.

 

 

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