Some test text!

menu
1. Integratekeyboard_arrow_down

Get started integrating PDFTron UWP SDK

Welcome to PDFTron. This guide will help you integrate a free trial of the PDFTron UWP SDK into your Visual Studio projects for UWP applications. You can either integrate PDFTron 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

linkPrerequisites

  • 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 PDFTron SDK works without a license key. A commercial license key is required for use in a production environment. Please fill out our licensing form if you do not have a valid license key.
Keep your commercial license key confidential.
License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).

linkSetup

  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.

    New Project

linkIntegrate PDFTron 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.

    Install PDFTron.UWP Nuget Package

    You can also find the package on nuget.org.

  2. Open MainPage.xaml. Replace the contents of the <Grid></Grid> tag with:

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
    
        <Border x:Name="PDFViewBorder" Grid.Row="0"/>
    
        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right" Margin="5">
            <Button x:Name="OpenButton">Open</Button>
        </StackPanel>
    </Grid>

linkNext step

View a document

linkTroubleshooting

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

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.