XFRX#WATERMARK::SetFont Method

Sets font, size and style of watermark.

XFRX#WATERMARK::SetFont(lcFontName [, lnFontSize [, lcFontSTYLE [, liFontEmbedded]]])

Parameters

lcFontName 
 Font name for watermark text.

lnFontSize
  Font size for watermark text. Default value is 10.

lcFontStyle
  Font style for watermark text. Can be empty or one of the following values or combinations. Default value is 'N'.

ValueDescription
'B'Bold
'I'Italic
'S'Underline
'U'StrikeThrough
'N'Normal

liFontEmbedded
 Font embedding.

ValueDescription
0Font will not be embedded (default value).
1Font will be included as subset.
2Font will be included as all characters.
3Font will be included as UNICODE subset .

Examples

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