SwitchToWatermark
IPDFDocument4 :: General document management :: Watermarks

See Also
Collapse All

This method switches all output commands to the specified watermark.

Syntax

HRESULT SwitchToWatermark (
LONG watermarkNumber
)
Parameters
watermarkNumber
Index of the watermark

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

The index of the watermark can be obtained by using the AddWaterMark method. When you use watermark methods, you must set the watermark to the pageĀ before all other output functions.

See theĀ AddWatermark method for examples.

See Also

Reference