CurrentWaterMarkIndex
IPDFDocument3 :: General document methods

See Also
Collapse All

This property gets or sets the current watermark index.

Syntax

LONG CurrentWaterMarkIndex { get; set; }
Value
Index of the current watermark.

Remarks

CurrentWaterMarkIndex returns the index of the most recent watermark created by the CreateWaterMark method. The return value is an watermark identifier in document's watermarks collection and can be used in CurrentWaterMarkIndex, PDFPAGE_DrawWatermark, PDFPAGE_Watermark.

When you use watermark functions, you must set the watermark to the page before all other output functions.

Equivalent in new interface: IPDFDocument4::AttachWatermark.

See Also

Reference