|
|
|
|
|
- Properties specific to Watermark variables
- Functions that use Watermark variables
- Reinitialization
Watermark (Variable type) In french: Filigrane
The Watermark type is used to handle the text printed in watermark in the reports created with the report editor or programmatically. The Watermark type is used to define the advanced characteristics of the text in watermark. You can define and change the characteristics of this text using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
New in version 2025
MyWatermark is Watermark
MyWatermark.Text = "Confidential"
MyWatermark.Font.Name = "Arial"
MyWatermark.Position = iCenterH + iBottom
iDestination(iViewer)
iParameterWatermark(iWatermarkPrinting + iWatermarkDuplicate, MyWatermark)
iPrintReport(RPT_Commercial)
Properties Properties specific to Watermark variables The following properties can be used to handle a text as watermark: | | | Property name | Type used | Effect |
---|
Angle | Integer constant | Tilt angle of the watermark text. This angle can correspond to one of the following constants: - iAnglePolice text tilt angle corresponds to the angle defined in the font.
- iDiagonalDescending text is printed on a 45° descending diagonal.
- iDiagonalMounting text is printed on a 45° rising diagonal.
- iHorizontal text is printed horizontally.
Before version 24, this property was named "Orientation". | Font | Font variable | Characteristics of the font that must be used for the watermark text. | Opacity | Integer | Watermark text opacity percentage. This percentage varies from 0 (invisible text) to 100 (totally opaque text). | Position | Integer constant | Constant (or combination of constants) used to define the position of watermark text: - iBas text is aligned at the bottom of the text area.
- iCentreH text is centered horizontally in the text area.
- iCentreV text is centered vertically in the text area.
- iRight text is aligned to the right of the text area
| Size | Integer constant | Font size. This size corresponds to one of the following constants: - iAutomatic font size is automatically selected according to watermark text length and report width.
- iToliceSize: the size defined in the font is used.
| Text | Character string | Watermark text. |
Remarks Functions that use Watermark variables | | iParameterWatermark | Adds a watermark into a report (report created in the report editor or printed report). |
Reinitialization You can use VariableReset to reset the content of a Watermark variable.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|