MBS( "PDFKit.Watermark"; /* Adds a watermark to a page. */$PDF; /* A PDF reference from PDFKit.Open. */
$PageNumber; /* The page number of the page to modify.e.g. 0 */
$Image; /* The image to be used for watermark. Should be a PNG with mask for best results. Pass a container value. */
$Transparency; /* The transparency level. From 0.0 (opaque) to 1.0 (full transparency).e.g. 0.5 */
$X; /* X coordinate. If zero, the plugin will center the image. If negative, this value is the distance from right side.e.g. 0 */
$Y; /* Y coordinate. As with all PDF coordinates, the 0 coordinate is on the bottom of the page. If zero, the plugin will center the image. If negative, this value is the distance from top side.e.g. 0 */
$W; /* Optional; Desired width. If value is zero or not provided, the plugin will use the image width.e.g. 0 */
$H; /* Optional; Desired height. If value is zero or not provided, the plugin will use the image height.e.g. 0 */
$Background; /* Optional; Wether to put image in foreground or background. Default is foreground. Can be 1 for background or 0 for foreground. Does not work if existing page clears background with background color!e.g. 0 */
$DeltaX; /* Optional; Additional positioning offset to be added after the calculations for above are done.e.g. 0 */
$DeltaY) /* Optional; Additional positioning offset to be added after the calculations for above are done.e.g. 0 */
Less