Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active April 15, 2022 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/689d4bcd7809ed6f4dd0a8594dd00e9f to your computer and use it in GitHub Desktop.
Save bjoerntx/689d4bcd7809ed6f4dd0a8594dd00e9f to your computer and use it in GitHub Desktop.
TXTextControl.SaveSettings saveSettings =
new TXTextControl.SaveSettings() {
Author = "Susan Paul",
CreationDate = DateTime.Now,
CreatorApplication = "TX Text Control",
DocumentKeywords = new string[] { "Summary", "Report" },
DocumentSubject = "Detailed summary report 2022",
DocumentTitle = "Sales Report 2022"
};
textControl1.Save("output.docx",
TXTextControl.StreamType.WordprocessingML, saveSettings);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment