Solutions

Building a PDF Viewer

The Adobe PDF Library SDK contains powerful APIs which enable developers to build PDF viewing functionality into their applications. These APIs are the same ones that power the rendering functionality of Reader and Acrobat, so compatibility is virtually guaranteed.

Many of our customers are using these rendering APIs in their applications; and many have used our viewer code samples as the basis of their production application. We provide a number of viewing code samples which illustrate how to:

  • display a PDF page on screen
  • page backwards and forwards in a document, jump to a specified page number
  • rotate the page in 90 degree increments
  • increase and decrease page scaling (zooming)
  • generate appearances for link and text annotations for display
  • mark annotations as printing when a document is printed
  • extract text and determine its position on the page
  • extract and play multimedia streams (e.g., Flash)
  • open and display components of a PDF package

DLEViewer, our .NET viewer sample

In addition, we've built a sample .NET component called "DLEViewer" that can be dropped directly into your C# application. This sample illustrates additional functionality, including handling PDFs with Optional Content Groups (aka, layers) - turning individual layers on/off, etc.; and navigating using PDF bookmarks. DLEViewer can be used as is; or easily modified to meet your PDF viewing requirements.

Learn more about the Adobe PDF Library SDK.