SetOrientation Method

SetOrientation Method

Sets base orientation of watermark.

Object.SetOrientation(lcOrientation [, lnAngle])

Parameters

lcOrientation 

 Default  value is "portrait".

Value

Description

Value

Description

'portrait'

0

The watermark orientation is portrait.

'landscape'

1

The watermark orientation is landscape.

'diagonal'

2

The watermark orientation is dialogonal from left-lower corner to right-upper corner.

'rotate'

3

The watermark is rotated around to center of the page.

 

lnAngle
 Angle in degree for orientation diagonal or rotate. Default value is 0.

Remarks

Applies To: XFRX#WATERMARK, WATERMARK-Text Object, WATERMARK-Image Object

Examples

* after calls loSession.SetParams() m.loWM=EVALUATE([xfrx("XFRX#WATERMARK", m.loSession)]) m.loWM.SetText("W A T E R M AR K", ,.T.) m.loWM.SetOrientation("diagonal")