Net-Core-DocX-HTML-To-PDF-Converter
Net-Core-DocX-HTML-To-PDF-Converter copied to clipboard
Image border not displayed in converted PDF
I am using DocXToPdfConverter NuGet Package in my application (C# .NET Core) to convert word documents to PDF format. Using this package and the example code given, I am able to successfully convert a word document to PDF file. However, the word document has an image which has a border (blue color) and that border is not displayed in the converted PDF file. I mean, the output PDF file contains the image without a border. Please let me know how to restore the formatting (such as borders, tables etc.,) in the output PDF file as they are in the input word document. Thank you.
Thank you for reporting the issue! The problem is that we have developed this library only for solving a headache of ours (basically not spending thousands of Euros on some C# PDF library) and did not "dig deep". We are not developing this further except, if we need to solve sth for our customers.
However, I have an idea, what the problem could be. We are using LibreOffice as you know internally to convert from DOCX to PDF. Maybe LibreOffice does not display borders correctly? Could you open your source DOCX in LibreOffice and check how it looks there?
Best of luck :)
Martin