UWP -- Converting docx to pdf

Paul Ryan 331 Reputation points
2020-11-11T17:19:30.67+00:00

Hi,
Does anyone know a good method in UWP to convert docx to pdf (this is done with Office 2019 installed on the PC running Win10). or an AZURE service to do this, it is a single document at different times.
I tried using Office.Interop -- get the error "Unable to load Assembly version 15 ......" - having a hard time figuring this one out

System.IO.FileLoadException: 'Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. Operation is not supported. (Exception from HRESULT: 0x80131515)'

Developer technologies | Universal Windows Platform (UWP)
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sean Liming 4,766 Reputation points Volunteer Moderator
    2020-11-12T03:24:16.283+00:00

    This site on "How to convert Word document to PDF in UWP" refers to a Syncfusion.DocIORenderer.NET.Core NuGet package that has the API you are looking for.

    -Sean Liming

    1 person found this answer helpful.

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.