Sample code for creating a DOCX file

Doug Mahugh had a post a couple days ago where he provides some basic code that will generate a WordprocessingML document:

Some folks have been asking about examples of how to create a basic document with the required relationships, content types, and parts. Doug had actually blogged on Monday that he would put up examples for all three document types, and this is the first of those examples.

Doug is very active on the site, and it's great to see him pulling some examples together like this. Thanks Doug!


Comments (1)
  1. Wilfred Ambrosina says:

    Could you please provide the code how to create a DOCX document using visual basic instead? I am not too familiar with C#

Comments are closed.

Skip to main content