| 1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Novacode;
- using System.Drawing;
-
- namespace ConsoleApplication3
- {
- class Program
- {
- static void Main(string[] args)
- {
- // Create a new document.
- using (DocX document = DocX.Create(@"Test.docx"))
- {
- // Add Headers to the document.
- document.AddHeaders();
- document.AddHeaders();
-
- // Save the document.
- document.Save();
- }
- }
- }
- }
|