We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to convert a Word document to PDF in Xamarin platforms

Yes, it is possible to convert a Word document to PDF in Xamarin platforms. From 2018 Volume 1 release (v16.1.0.24) onwards, Syncfusion provides support for Word to PDF conversion in Xamarin platforms.

Step 1: Create a Xamarin Forms application. For .NET Standard Xamarin application, the target framework must be .NET Standard 1.4 or higher version.

Step 2: Add the following NuGet packages from nuget.org as reference in your Xamarin application. Kindly refer here to install NuGet from NuGet Package Manager.

  • Syncfusion.Xamarin.DocIORenderer
  • SkiaSharp

You can also install these packages through package manager console using following commands

Step 3: Kindly add a button in your XAML page.

XAML:

Add the below code example in the button click event handler to create a simple Word document from scratch and convert it to PDF.

C#:

The sample illustrating how to convert an existing Word document to PDF can be downloaded from here.

If you have any questions or require clarification about this support, please let us know in the comments below. You can also contact us through our support forum or Direct Trac. We are happy to assist you!

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8497 02/27/2018 03/01/2018 Xamarin.Android DocIO
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon