Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created February 9, 2017 16:14
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/a16b5d5d4159e9370781de1451fd20b1 to your computer and use it in GitHub Desktop.
Save bjoerntx/a16b5d5d4159e9370781de1451fd20b1 to your computer and use it in GitHub Desktop.
TXTextControl.UserDefinedPropertyDictionary userSettings =
new TXTextControl.UserDefinedPropertyDictionary();
userSettings.Add("rc_datasource", datasource);
TXTextControl.SaveSettings saveSettings = new TXTextControl.SaveSettings() {
UserDefinedDocumentProperties = userSettings
};
tx.Save(sFilePath, streamType, saveSettings);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment