Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active February 18, 2020 20:27
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/650db97a133251ff5a3ad4a60e27ea72 to your computer and use it in GitHub Desktop.
Save bjoerntx/650db97a133251ff5a3ad4a60e27ea72 to your computer and use it in GitHub Desktop.
var loadedProperties;
using (TXTextControl.ServerTextControl tx = new TXTextControl.ServerTextControl())
{
tx.Create();
TXTextControl.LoadSettings loadSettings = new TXTextControl.LoadSettings();
tx.Load(docFile, TXTextControl.StreamType.WordprocessingML, loadSettings);
if (loadSettings.UserDefinedDocumentProperties != null)
{
loadedProperties = loadSettings.UserDefinedDocumentProperties;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment