These options allow the placement of a centered, diagonal watermark on each page. The watermark text runs from bottom left to the top right of the page with the outline of each letter being printed. Table values in bold text are the default value for that setting.

 

 

Code Sample - C#

 
PNDocConvQueueServiceLib.PNDocConvQueueItem item = null;
 
// Create the conversion item
item = new PNDocConvQueueServiceLib.PNDocConvQueueItem();
 
// Set conversion settings

item.Set("Devmode settings;Resolution", "300");

item.Set("Save;Output File Format""TIFF Serialized");

item.Set("Save;Prompt""0");

item.Set("WatermarkStamp;Enabled""1");

item.Set("WatermarkStamp;CenteredDiagonalText""DRAFT");

item.Set("WatermarkStamp;CenteredDiagonalFontSizeInPoints""36");
...
// convert the file
item.Convert("Microsoft Word",
             @"C:\Test\Report.docx",
             @"C:\Test\Out\ConvertedReport");

 

Code Sample - VB.NET

 

Dim item As PNDocConvQueueServiceLib.IPNDocConvQueueItem

 

 ' Create the conversion item

item = New PNDocConvQueueServiceLib.PNDocConvQueueItem()

 

' Set conversion settings

item.Set("Devmode settings;Resolution""300")

item.Set("Save;Output File Format""TIFF Serialized")

item.Set("Save;Prompt""0")

item.Set("WatermarkStamp;Enabled""1")

item.Set("WatermarkStamp;CenteredDiagonalText""DRAFT")

item.Set("WatermarkStamp;CenteredDiagonalFontSizeInPoints""36")

...

' convert the file

item.Convert("Microsoft Word", _

             "C:\Test\Report.docx", _

             "C:\Test\Out\ConvertedReport")

 

 

Conversion Settings - Advanced Features

Name:

WatermarkStamp;Enabled

 

Enable or disable the watermark stamping feature.

Values:

0 - disable watermark stamping

1 - enable watermark stamping

 

Name:

WatermarkStamp;CenteredDiagonalText

 

Values:

The text to display as the watermark stamp.

 

Name:

WatermarkStamp;CenteredDiagonalFontSizeInPoints

 

Values:

The font size of the watermark text in points. Default is 36.