Welcome to Apryse. This guide will show you how to get started with integrating a free trial of the Apryse 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 Apryse components of your Xamarin.Forms app. Your free trial includes unlimited trial usage and support from solution engineers.
The trial of Apryse Mobile SDK does not require a trial key. A commercial license key is required for use in a production environment. Please contact sales to purchase a commercial key or if you need any other license key assistance.
License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).
CustomRenderer.sln
in 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.vsix
from /PDFNetUWPApps/Lib
to install PDFNet SDK for UWP./Samples/PDFViewCtrlTools_VS2015
folder to the Xamarin.Forms sample folder ContentPage
.PDFNet SDK for UWP
reference in the CustomRenderer.UWP sample and delete it.CustomRenderer.UWP
project 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):
Notable files and directories include:
File/Folder Name | Description |
---|---|
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 Apryse 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.
CustomRenderer
and click Restore NuGet Packages
to install the project dependencies.2. Build the solution by right clicking CustomRenderer
and selecting Build Solution
. 3. Run the project sample of your choice. Regardless of which project you ran, you will see a selection screen pop up which asks you to run either the Basic Viewer or the Advanced Viewer.
For reference, this is how the Basic Viewer should look on all three platforms:
Android | iOS | UWP |
---|---|---|
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales