Get started integrating Apryse UWP SDK

Welcome to Apryse. This guide will help you integrate a free trial of the Apryse UWP SDK into your Visual Studio projects for UWP applications. You can either integrate Apryse packages automatically using NuGet Package Manager, or install them manually by downloading the SDK. Pick whichever option you prefer, but integrating with NuGet is the recommended approach. Your free trial includes unlimited trial usage and support from solution engineers.

Integrate UWP PDF library with NuGet

Prerequisites

  • Visual Studio 2017 or higher.Make sure the Universal Windows Platform development workload is part of your installation.

No trial license key required.

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.

Keep your license keys confidential.

License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).

Setup

  1. Open a new instance of Visual Studio and create a new Project (File -> New -> Project...). In the new project dialog, select the language of your choice for UWP development. Call the application myapp-uwp.
Apryse Docs Image

Integrate Apryse into your UWP Application

  1. Find your project in the Solution Explorer. Right Click on the project and click on Manage NuGet Packages.... In the package manager, select the Browse tab and search for PDFTron.UWP. Install this package.You can also find the package on nuget.org.
Apryse Docs Image
  1. Open MainPage.xaml. Replace the contents of the <Grid></Grid> tag with:

XML

1<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
2 <Grid.RowDefinitions>
3 <RowDefinition Height="*"/>
4 <RowDefinition Height="Auto"/>
5 </Grid.RowDefinitions>
6
7 <Border x:Name="PDFViewBorder" Grid.Row="0"/>
8
9 <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="5">
10 <Button x:Name="OpenButton">Open</Button>
11 </StackPanel>
12</Grid>

Next step

Troubleshooting

Why can't I use "Any CPU" configuration for UWP?
Projects that contain native code cannot use the "Any CPU" configuration

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales