API to produce Word Document from my application using Word API?

Roberto Filho 0 Reputation points
2023-06-23T09:55:54.7733333+00:00

I currently have an application that produces legal documents to be reviewed by my clients, these documents are currently produced in PDF but I would like to produce them in word, how is the best way to do this? Anyone that had done this before?

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Word | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Martin Egli 355 Reputation points
    2023-06-23T10:55:10.8866667+00:00

    I have already done this in many projects. My recommendation is to fill a Word template with the necessary content. Use placeholders for this. The customer can then customize the template. E.g. Logo.

    https://learn.microsoft.com/en-us/dotnet/api/microsoft.office.tools.word.document?view=vsto-2017

    1 person found this answer helpful.
    0 comments No comments

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.