Created
April 8, 2020 15:54
-
-
Save bjoerntx/dbd0f40c63ad89a9623c1509e717ba91 to your computer and use it in GitHub Desktop.
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
@using TXTextControl.Web.MVC.DocumentViewer | |
@using System.IO; | |
@Html.TXTextControl().DocumentViewer(settings => | |
{ | |
settings.DocumentPath = | |
AppDomain.CurrentDomain.GetData("DataDirectory").ToString() + "\\demo.rtf "; | |
settings.Dock = DocumentViewerSettings.DockStyle.Window; | |
}).Render() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment