Some test text!

Integrate manually

In this document
chevron_rightDownload
chevron_rightIn Xamarin.Android
chevron_rightIn Xamarin.iOS

linkDownload

A trial key is needed to use and download the SDK.

Get Your Free Trial License Key

Visual Studio 2017 and/or Visual Studio for Mac is required.

PDFTron SDK for Xamarin can be installed through local NuGet package manager.

linkIn Xamarin.Android

Supporting Sdk versions:

  • Minimum: API 16 (Using Android Support Libraries)
  • Recommended target: API 28

First, open the NuGet package manager console:

Install PDFTron package:

Install-Package path_to_package\PDFTron.Android.6.9.5.nupkg
Install-Package path_to_package\PDFTron.Android.Tools.6.9.5.nupkg

Replace path_to_package to the actual path.

Please note all of the required dependencies will also be installed.

To use SimpleReaderActivity and/or AdvancedReaderActivity, also install:

Install-Package path_to_package\PDFTron.Android.Demo.6.9.5.nupkg

Replace path_to_package to the actual path.

Lastly, turn on Multi-Dex:

And you are set to go! Now time to add PDFTron license key to your application and open a document in an Activity or open a document with PDFViewCtrl.

linkIn Xamarin.iOS

First, add new NuGet source to where PDFTron for Xamarin.iOS download package's lib/ios folder is as described in Adding Package Sources.

Then, in Add Packages window, switch the source to the newly added source, you will see the packages:

Select PDFTron.iOS and click Add Package.

Select PDFTron.iOS.Tools and click Add Package.

Please note all of the required dependencies will also be installed.

And you are set to go! Now time to add PDFTron license key to your application and open a document with PDFViewCtrl.