Create a watermark version of the first NumPages pages of a file. A watermark version is PDF file, but the whole content is added as pictures in an adjustable resolution. Furthermore, the picture is annotated by a watermark text going diagonal across each page.

There is no way to increase the quality or remove the watermark text completely afterwards.

Namespace:  InfigoSDK
Assembly:  InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public bool CreateWatermark(
	string strFile,
	string strText,
	short nDPI,
	int nNumPages
)
Visual Basic (Declaration)
Public Function CreateWatermark ( _
	strFile As String, _
	strText As String, _
	nDPI As Short, _
	nNumPages As Integer _
) As Boolean
Visual C++
public:
bool CreateWatermark(
	String^ strFile, 
	String^ strText, 
	short nDPI, 
	int nNumPages
)

Parameters

strFile
Type: System..::.String
The file name of the watermarked version.
strText
Type: System..::.String
The watermark text.
nDPI
Type: System..::.Int16
The output resolution in DPI.
nNumPages
Type: System..::.Int32
The number of pages to include in the watermarked version.

Return Value

Returns true on success.

See Also