Using PDFNet WebViewer in ASP.NET Cloud app to view PDF and other docs online

Q:

I have the following questions:

  1. For PDF Viewing in an ASP.NET application…

a. Do I use the PDFNet Web Viewer?

b. Is the viewer Ajax compatible?

c. Can I hide all the UI components (toolbars, etc.) and show just the PDF window… we want to use our own UI.

d. I did not see any server C# class in the documentation for the viewer, does it has server side support?

  1. For JPEG and TIFF files to PDF conversion in an ASP.NET application…

a. Do I use PDFNet SDK?

b. Is the PDFNet SDK compatible with ASP.NET.

c. If I deploy the application in a RackSpace or Amazon cloud environment?

Thank you in advance for the information.

A:

  1. For PDF Viewing in an ASP.NET application…
    a. Do I use the PDFNet Web Viewer?

Yes, you can use PDFNet WebViewer in ASP.NET or any other type of Web dev platform (PHP, Ruby, Java, …)

PDF and/or other document formats must first be optimized and streamlined in order to be displayed within a web browser. The result of the optimization yields an XOD file. XOD file is a format based on Open XPS standard. For more information about the PDFNet WebViewer, please visit the following link: http://www.pdftron.com/pdfnet/webviewer

b. Is the viewer Ajax compatible?

Yes. PDFNet Web Viewer is compatible with HTML 5, XML, and JavaScript.

The PDFNet WebViewer itself is available a pure client-side JavaScript tool. You can extend the PDFNet WebViewer to perform AJAX operations.

c. Can I hide all the UI components (toolbars, etc.)
and show just the PDF window… we want to use our own UI.

In order to customize the PDFNet WebViewer, you will need to use the PDFNet WebViewer SDK. The PDFNet WebViewer SDK is part of the PDFNet WebViewer distribution. Included in the package is a ReaderControl (both HTML5 and Silverlight). You are free customize this ReaderControl to your liking.

d. I did not see any server C# class in he documentation

for the viewer, does it has server side support?

PDFNet WebViewer itself is a client-side technology (HTML5 / Silverlight / Flash). If you have an ASP.NET application, you can host the PDFNet WebViewer along with your application to display documents. There is no server side processing required to view XOD files.

  1. For JPEG and TIFF files to PDF conversion in an

ASP.NET application…

a. Do I use PDFNet SDK?

You have three options:

  1. Use PDFNet SDK (e.g. pdftron.PDF.Convert.ToPdf(…)) or
  2. Use our Document Publisher Tool (http://www.pdftron.com/pdfnet/webviewer/download.html - see DocPub CLI).
  3. Use Cloud API service. With PDFNet Cloud API, you can convert from PDF, MS Office, and many other file formats with minimum development and operational costs. For details please see http://www.pdftron.com/pdfnet/cloud.