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

ValueDescription
0Clip picture (default value)
1Stretch picture, retain shape
2Stretch 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

m.loWM=EVALUATE([xfrx("XFRX#WATERMARK", m.loSession)])
m.loWM.SetPicture("xfrx_32b.png", .T.)