SetText Method

Sets text of watermark.

Object.SetText(lcText [, liCodePage [, llAutoSize]])

Parameters

lcText 
 Watermark text.

liCodePage
  Code page of watermark text. Default value is current VFP codepage.

llAutoSize
  If vaue is .T., then text will has size adapated by printable page size. Default  value is .F.

Remarks

Applies To: XFRX#WATERMARK, WATERMARK-Text Object

Examples

m.loWM=EVALUATE([xfrx("XFRX#WATERMARK", m.loSession)])
m.loWM.SetText("W A T E R M A R K")
m.loWM.SetFont("Tahoma", 15, "B")