Code Sample
//Open the File
id = oTest.apOpenEx(Server.MapPath("imagecache/" + Page.Session.SessionID.ToString() + "9999.pdf"), Server.MapPath("imagecache/" + Page.Session.SessionID.ToString() + "9999Stamped.pdf"));
//To setup pages on which the watermark should appear.(http://www.adultpdf.com/products/pdfstamp/help/help_cs.html)
oTest.apSetFunctionEx(id, 131, 3, 4, "0", "0");
//Code to modify the watermark
if (id > 0)
{
oTest.apAddTextEx(id, 9, "UNVERIFIED", 8421504, 17, 10, 10, 50, 0, 1, 100, "Arial", 100, 0, "NONE", 0);
}
oTest.apCloseEx(id);