Tag: report

C#, Microsoft Windows

Create pdf report from word template in C#

1. Create a word template from an existent word document or a new one. 2. Add fields in the word template, prefer type keyword. 3. When you have created your templates you can use the class below! Don’t forget to add a reference to the Microsoft Word Object Library from the COM tab. /* * …