How can I convert a Word file to PDF with out install Microsoft Office RRS feed

  • Question

  • I am coding a tool to convert Word to PDF without Microsoft Office.

    I need both support the Page Header and the Water Mark.

    My coding language is C#,and must use free DLLs.

    Is there any solutions?

    Tuesday, September 17, 2019 1:18 PM

All replies

  • Hi Gskull Plus, 

    Thank you for posting here.

    According to your question, I have found a reference which can convert word to pdf without Microsoft Office.


    I download the project and make a test on my side. you need to change ‘string locationOfLibreOfficeSoffice’ to the path string your ‘soffice.exe’ Where it exists.

    Unfortunately, it doesn’t support  the Page Header and the Water Mark.

    Here are some other references you can refer to.

    1. PDFCreator
    2. Free Spire.Doc for .NET
    3. GemBox.Document

    Hope them can help you.

    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Best Regards,

    Xingyu Zhao

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Wednesday, September 18, 2019 10:21 AM