How to convert a Word document to PDF in ASP.NET Core application
Yes, now it is possible to convert a Word document to PDF in ASP.NET Core Web and .NET Core Console applications. From 2018 Volume 1 release (v126.96.36.199) onwards, Syncfusion provides support for Word to PDF conversion in .NET Core platform using SkiaSharp Graphics library.
Add the following NuGet packages as reference in your application.
Installation command in package manager
Install-Package SkiaSharp -Version 1.59.3
- Syncfusion components are available in nuget.org
- Starting with v16.2.0.x, you must add “Syncfusion.Licensing” NuGet package and include a license key in your projects. Please refer to this link to know about registering Syncfusion license key in your application to use our components.
- Please refer the procedure to deploy your application in Linux OS from here
The following code snippet illustrates how to convert a simple Word document to PDF. A runnable sample application 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!
Last Revised Date: