Click here to Skip to main content
16,012,468 members

Comments by Whisortates (Top 2 by date)

Whisortates 27-Oct-15 4:37am View    
Generally speaking Microsoft's word automation in C# can yield a rather bad performances. This is because you're basically running the whole application (MS Word) and calling its functionalities.
Nevertheless you should check out that link, it is a comparison of word automation vs this C# library for word files. Also here is an article that demonstrates how to convert the Word document into a PDF in C# with it.
Whisortates 26-Oct-15 6:18am View    
I had a similar issue, one easy trick that you can use is to transform the external CSS files into an inline HTML styling.
On the following link you can find quite a few options on how to do this:
http://stackoverflow.com/questions/5066667/net-convert-external-css-to-inline-css
Another thing that you can try is the solution from the following article:
Convert HTML to PDF in C# and VB.NET
The code from that article uses this C# library for word documents processing.