Sets base orientation of watermark.
Code Block |
---|
Object.SetOrientation(lcOrientation [, lnAngle]) |
Parameters
lcOrientation
Default value is "portrait".
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. |
...
Applies To: XFRX#WATERMARK, WATERMARK-Text MemberObject, WATERMARK-Text Image Object
Examples
Code Block |
---|
m.loWM=EVALUATE([xfrx("XFRX#WATERMARK", m.loSession)]) m.loWM.SetText("W A T E R M AR K", ,.T.) m.loWM.SetOrientation("diagonal") |
...