XOD files are web-optimized files that allow the WebViewer to use make byte range requests directly. (Provided that your server supports byte serving)
What this means is that the WebViewer does NOT download the whole XOD file before it begins to render. The WebViewer will only download parts of the XOD file at a time, as you scroll.
As long as your web server (hosting the xod file) supports byte serving, you do not need to configure anything.
Note: you'll see that the WebViewer includes a streaming mode (via
chunked transfer encoding). Using the streaming mode turns off byte range requests, so you'll want to make sure streaming is off. (Streaming is only useful when your server does not support byte ranges, or you need to do XOD conversions on the fly.)
For watermarks on XOD files, you have a couple of options:
1. apply watermarks with PDFNet to the PDF, prior to XOD conversion
2. use PDFNet to convert XOD back to PDF, and apply watermark with PDFNet. (Note you'll need a license for XPS2PDF to do so)
3. alternatively, you could customize the WebViewer to display your own watermarks (this would be more involved)
So the easiest way really is to apply a watermark to the PDF directly, then convert that to XOD.
On Thursday, October 11, 2012 1:22:00 AM UTC-7, Ankit wrote:
In my application, Documents to be converted are very big and thus I convert the pdf documents in xod format and save. Is there a way to read the xod directly and send that to the web viewer?Additionally, I need to create watermark on the XOD. How can I do that?