SetPicture Method
Sets text of watermark.
Object.SetPicture(lcFile [, llAutoSize [, lnAdjustType [, lcMaskColor [, lcSMaskImage [, lcMaskImage [, llNEG [, liPagePicture]]]]]]])
Parameters
lcFile
Watermark file image.
llAutoSize
If vaue is .T., then image will has size adapated by printable page size. Default value is .F.
lnAdjustType
Value | Description |
---|---|
0 | Clip picture (default value) |
1 | Stretch picture, retain shape |
2 | Stretch picture, fill frame |
lcMaskColor
Mask color for transparent See to transparent image.
lcSMaskImage
External soft mask image.
lcMaskImage
External mask image.
llNEG
If vaue is .T., then image source is in negative colors.
liPagePicture
Page picture - for TIFF image. Deafult value is 1.
Remarks
Applies To: XFRX#WATERMARK, WATERMARK-Image Object
Examples
* after calls loSession.SetParams() m.loWM=EVALUATE([xfrx("XFRX#WATERMARK", m.loSession)]) m.loWM.SetPicture("xfrx_32b.png", .T.)