I have been unable to find anywhere in the documentation and/or forum that explains how to do this.
NOTE: We have some PDF's that are over 10,000 pages. Although they display fairly quickly we do not want to add a watermark to every page, resave the "new" PDF, and then load into the viewer. We are hoping you have a way that we can do something similar to your trial version.
The watermark mechanism we are using is not publicly exposed and therefore cannot be used in another context.
That being said, it is easy enough to implement your own through a custom action and the corresponding event.
Basically you just need the RegisterOnPageChanged callback to run a custom action that will draw your watermark on the page.
With this approach you will be able to design the watermark exactly as you need it, whether it is an image or hard-coded text.
I think the best option is to draw the watmermak from the server side. Just catch the PageTransferReady event, then draw your watermark on the provided image (see imageID parameter).
http://www.docuvieware.com/guides/aspne ... dy_EV.html
Who is online
Users browsing this forum: Majestic-12 [Bot] and 1 guest