Articles in this section
Category / Section

How to avoid conflicts while using DocIORenderer and other controls in UWP

1 min read

Syncfusion Essential DocIO is a .NET Word library used to create, read, and edit Word documents programmatically without Microsoft Word or Interop dependencies.

Steps to avoid conflicts while using DocIORenderer package and other UWP controls in UWP sample:

  1. Create a new C# Blank App (Universal Windows) project.

 

Create UWP application

  1. Install necessary UWP packages as NuGet in your UWP application from NuGet.org.

 

Install UWP packages

 

  1. Add the Syncfusion.DocIORenderer.Net.Core package along with all dependent packages (Syncfusion.Compression.Portable, Syncfusion.OfficeChart.Portable, Syncfusion.DocIO.Portable, Syncfusion.Pdf.Portable, Syncfusion.SkiaSharpHelper.Portable) as assemblies.
    Note:

    Get the assemblies from C:\Users\Username\.nuget\packages\Syncfusion

 

Refer DocIORenderer package as assemblies

 

  1. Assign Aliases name for conflicted assembly to differentiate the UWP and .net Core packages.

 

set aliases name to conflicted packages

 

  1. Refer the below link to convert Word document to PDF in UWP platform.

How to convert Word document to PDF in UWP

A complete working sample to find the list of fonts used in the Word document using C# can be downloaded from here

Take a moment to peruse the document where you can find basic Word document processing options along with the features like mail merge, merge and split documents, find and replace text in the Word document, protect the Word documents, and most importantly, the PDF and Image conversions with code examples.

Explore more about the rich set of Syncfusion Word Framework features.

Note:

Starting with v16.2.0.x, if you reference Syncfusion assemblies from trial setup or from the NuGet feed, include a license key in your projects. Refer to the link to learn about generating and registering a Syncfusion license key in your application to use the components without trail message.

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied