IWatermark
The IWatermark interface is designed to place text or graphic watermarks onto output file pages.
Properties
Defines the type of a watermark to be placed onto output document pages during conversion. It is both readable and writable.
Constant | Value | Description |
---|---|---|
WM_NONE | 0 | No watermark |
WM_TEXT | 1 | Text watermarks are placed onto output file pages |
WM_PICTURE | 2 | Graphic 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