This example demonstrates how to use the Office File API and ASP.NET MVC Extensions to implement a custom PDF viewer. This PDF viewer displays a PDF document's content and allows users to navigate through document pages.
Use the following classes to implement the PDF viewer:
-
PdfDocumentProcessor
Allows you to manage PDF files. The PdfDocumentProcessor's LoadDocument method opens a PDF document and the CreateBitmap method converts the document's pages to images. -
BinaryImageEditExtension
Displays a PDF document's pages as images. -
DataViewExtension
Allows users to navigate through pages. -
UploadControlExtension
Allows users to upload a PDF document to the server. -
CallbackPanelExtension
Opens a document in the PDF viewer after a user uploads the PDF document to the server.