Some test text!

Quick start - view a document

This guide demonstrates how to display a PDF. To begin working with PDFNet, you must have first added it to your project, and initialized the library.

  1. Add a PDF to your project, by dragging it into the project's left side panel. Ensure that it will be copied into the bundle's resources by checking that it is listed under the Copy Bundle Resources section of the project's Build Phases. (If it is not present here, add it using the '+' button.)

    The file sample.pdf has been added to the project, and will be copied into the bundle.
  2. PDFNet must be initialized with a key that is provided during trial registration or after licensing. This only needs to be done once, and must be done before using any PDFNet classes. This is done as shown:

  3. At the top of your source file, import PDFNet and Tools.

  4. The following shows how to create a document viewer, set the document to display, and present it on screen.