Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sets text of watermark.

Code Block
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#WATERMARKWATERMARK-Text Object

Examples

Code Block
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")

...