Some test text!
Welcome to PDFTron. This guide will show you how to get started with integrating a free trial of the PDFTron SDK into your Xamarin.Forms application. We will clone the Xamarin.Forms sample repository, walk through the project structure, and show you how to customize the PDFTron components of your Xamarin.Forms app. Your free trial includes unlimited trial usage and support from solution engineers.
git clone https://github.com/PDFTron/xamarin-forms-sample.git
CustomRenderer.slnin Visual Studio.
You are now ready to run the sample. If you want to run the UWP sample as well, follow the steps below:
/PDFNetUWPApps/Libto install PDFNet SDK for UWP.
/Samples/PDFViewCtrlTools_VS2015folder to the Xamarin.Forms sample folder
PDFNet SDK for UWPreference in the CustomRenderer.UWP sample and delete it.
CustomRenderer.UWPproject and add a reference to the PDFNet SDK for UWP extension that was installed from the download package.
After initial setup, your
xamarin-forms-sample/ContentPage folder should look like this(assuming you followed UWP integration steps):
xamarin-forms-sample ├── ContentPage │ ├── CustomRenderer │ ├── Droid │ ├── iOS │ ├── packages │ ├── PDFViewCtrlTools_VS2015 │ ├── UWP │ └── CustomRenderer.sln └── ...
Notable files and directories include:
|CustomRenderer||Contains the declaration for the shared Xamarin.Forms page|
|Droid||Contains custom renderer for Xamarin.Android|
|iOS||Contains custom renderer for Xamarin.iOS|
|packages||Contains the dependencies for the project|
|PDFViewCtrlTools_VS2015||Annotation and UI tools project for UWP sample that was imported from PDFTron UWP SDK|
|UWP||Contains custom renderer for UWP|
|CustomRenderer.sln||The Visual Studio solution file for the entire sample|
The process of running the sample is the same for all samples you want to run.
Restore NuGet Packagesto install the project dependencies.
For reference, this is how the Basic Viewer should look on all three platforms:
Get the answers you need: Support
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 PartnersLearn more