Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Current »

Sets alignment of watermark for orientation portrait and landscape.

Object.SetAlignment(luHAlign[, luVAlign])

Parameters

luHAlign 

Specifies a numerical or string value representing the horizontal alignment of watermark. Default value is "left".

ValueDescription
'left'0

Aligns watermark in left border of the page.

'center'1Aligns watermark at horizontally centered of the page
'right'2Aligns watermark in right border of the page
'justify'3Aligns watermark in left border of the page - for text watermark only.

luVAlign
Specifies a numerical or string value representing the vertical alignment of watermark. Default value is "top".

ValueDescription
'top'0Aligns watermark in top border of the page.
'middle'1Aligns watermark at vertically centered of the page.
'bottom'2Aligns watermark in bottom border of the page.

Remarks

Applies To: XFRX#WATERMARKWATERMARK-Text Member, WATERMARK-Text Object

Examples

m.loWM=EVALUATE([xfrx("XFRX#WATERMARK", m.loSession)])
m.loWM.SetText("W A T E R M AR K")
m.loWM.SetAlignment("center", "middle")
  • No labels