IWatermark

The IWatermark interface is designed to place text or graphic watermarks onto output file pages.

Properties

Enum Mode

Defines the type of a watermark to be placed onto output document pages during conversion. It is both readable and writable.
ConstantValueDescription
WM_NONE0No watermark
WM_TEXT1Text watermarks are placed onto output file pages
WM_PICTURE2Graphic watermarks are placed onto output file pages

IPictureWatermark PictureWatermark
Provides access to the IPictureWatermark interface which is used to configure graphic watermarks.

ITextWatermark TextWatermark
Provides access to the ITextWatermark interface which is used to configure text watermarks.

Examples

Visual Basic 6

Dim objUDC As IUDC Dim itfPrinter As IUDCPrinter Dim itfProfile As IProfile Set objUDC = New UDC.APIWrapper Set itfPrinter = objUDC.Printers("Universal Document Converter") Set itfProfile = itfPrinter.Profile itfProfile.Watermark.Mode = WM_PICTURE