The IWatermarkSettings interface provides facilities for adding custom watermarks to the HTML content that has been generated. This interface can be obtained using the IProtectionSettings.Watermark property.

Table 1. Properties

PropertyValue TypeAccessDefault valueProperty description
EnabledboolRead/WritefalseAdds the specified watermark.
AlignmentWatermarkAlignmentEnumRead/WriteWA_LEFT_TOPIs used for adjusting the watermark position on the slide. 

Note: possible values are: WA_LEFT_TOP = 1, WA_CENTER_TOP = 2, WA_RIGHT_TOP = 3, WA_LEFT_MIDDLE = 4, WA_CENTER_MIDDLE = 5, WA_RIGHT_MIDDLE = 6, WA_LEFT_BOTTOM = 7, WA_CENTER_BOTTOM = 8, WA_RIGHT_BOTTOM = 9
PathstringRead/Write
The path to a bitmap or a SWF file that will be used as the watermark.
OpacityintRead/Write100The watermark opacity (in percent, from 0% to 100%).
ClickURLstringRead/Write
The address of a web page that will be opened on mouse click.
TargetstringRead/Write_selfThe target browser window where the web page will be opened.
OffsetXintRead/Write0The horizontal offset of the watermark in pixels.
OffsetYboolRead/Write0The vertical offset of the watermark in pixels.


Table 2. Methods

Method

Description

void Reset()Restores default watermark settings.