Some test text!

menu
search
Step 2: View a documentkeyboard_arrow_down

Step 2: View a document

  1. If you do not already have an existing application, create a new Visual Studio iOS App project with Single View App.
  2. Add these namespaces to ViewController.cs:

    using pdftron;
    using pdftron.PDF.Controls;
  3. Add a new NavigationController as the entry point and make the existing ViewController the root view controller:

Step 1

Your final setup should look like this:

Step 2

  1. Add the following lines to the ViewDidLoad() method:

    var documentViewController = new PTDocumentViewController();
    this.NavigationController.PushViewController(documentViewController, true);
    documentViewController.OpenDocumentWithURL(new Uri("https://pdftron.s3.amazonaws.com/downloads/pdfref.pdf"));
  2. Run the application in debug mode and you should see the DocumentViewController start up:

linkNext step

CustomizeAdd a PDFTron license key

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

PDFTron Receives USD$71 Million Growth Investment Led By Silversmith Capital Partners

Learn More
close