Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active November 10, 2016 14:39
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/c2fa1d8b78db630ec92d271c2ff082c6 to your computer and use it in GitHub Desktop.
Save bjoerntx/c2fa1d8b78db630ec92d271c2ff082c6 to your computer and use it in GitHub Desktop.
TXTextControl.LoadSettings loadSettings = new TXTextControl.LoadSettings();
textControl1.Load("test.rtf",
TXTextControl.StreamType.RichTextFormat,
loadSettings);
foreach (DictionaryEntry property in loadSettings.UserDefinedDocumentProperties) {
Console.WriteLine(property.Key + ": " + property.Value.ToString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment