Created
April 24, 2017 15:59
-
-
Save bjoerntx/50665b2e28146c5f9472d83685bbd752 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 | |
@{ | |
ViewBag.Title = "Index"; | |
} | |
<h2>Index</h2> | |
@Html.TXTextControl().DocumentViewer(settings => | |
{ | |
settings.DocumentPath = Server.MapPath("~/App_Data/Demo.rtf"); | |
settings.Dock = DocumentViewerSettings.DockStyle.Window; | |
settings.IsSelectionActivated = true; | |
settings.ShowThumbnailPane = true; | |
}).Render() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment