Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active December 2, 2015 16:01
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/321c49f9074a912b6025 to your computer and use it in GitHub Desktop.
Save bjoerntx/321c49f9074a912b6025 to your computer and use it in GitHub Desktop.
@Html.TXTextControl().TextControl(settings => {
settings.DocumentFileDirectory = Server.MapPath("~/App_Data/Documents");
}).LoadXMLDatabase(
Server.MapPath("~/App_Data/Documents/sample_db.xml")).LoadText(
Server.MapPath("~/App_Data/Documents/invoice.docx"),
StreamType.WordprocessingML).Render()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment