Created
May 5, 2021 12:46
-
-
Save bjoerntx/2866e471191eeccf91d9360fbb41b7b4 to your computer and use it in GitHub Desktop.
test.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="tx-container"> | |
@Html.TXTextControl().DocumentViewer(settings => { | |
settings.DocumentPath = Server.MapPath("~/App_Data/Documents/invoice_results.docx"); | |
settings.Dock = DocumentViewerSettings.DockStyle.Fill; | |
settings.IsSelectionActivated = true; | |
settings.ShowThumbnailPane = false; | |
settings.UserNames = new string[] { "Tim Typer" }; | |
}).Render() | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment