[]
C1.Word supports reading and writing Microsoft Word Open XML (.docx) documents. Use the Load method to read an existing document and the Save method to write a document to disk.
C1.Word also supports legacy, faster formats for recording canvases and shapes.
The following example loads an existing document, saves it under a new name, and opens the result in the default application:
using System.Diagnostics;
using C1.Word;
C1WordDocument doc = new C1WordDocument();
// Read a .docx file
doc.Load(@"path\to\input.docx");
// Write the document to a .docx file
doc.Save("Sample.docx");
// Open the saved file in the default application
Process.Start(new ProcessStartInfo
{
FileName = "Sample.docx",
UseShellExecute = true,
});