Overview of SharpDocx template engine
masterSharpDocx is a lightweight template engine for creating Microsoft Word documents. It uses a two-step process:
- Create a View: Design a Word document that contains embedded C# code snippets (e.g.,
<%= DateTime.Now %>). This document acts as your template. - Generate Documents: Use the SharpDocx API to process the view and produce a final
.docxfile.
It supports inserting text, tables, images, and more. It is compatible with .NET Framework 3.5-4.8 and .NET Standard 2.0 (including .NET Core 3.1, .NET 5.0, and .NET 6.0).