c# – Free library for working with *.DOCX

Question:

Recommend a free and well-documented library for working with *.DOCX.

I know that there is OpenXML, but what is convenient in nature besides it?

For example, for Excel there is a handy EpPlus.

Answer:

DocX

git

Exp:

DocX doc= DocX.Create(filePath);
Paragraph p1 = template.InsertParagraph();
p1.AppendLine("This line contains a ").Append("bold").Bold().Append(" word.");
p1.AppendLine("Here is example with question mark?");
p1.AppendLine();
p1.AppendLine("Can you help me figure it out?");
p1.AppendLine();

Very easy to use.

Scroll to Top