Created
October 20, 2023 09:55
-
-
Save bjoerntx/12564e28b2c0e8af242c22ca6d24ba1d 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.Text | |
<div style="width: 1200px; height: 800px;"> | |
@Html.TXTextControl().DocumentViewer(settings => { | |
settings.DocumentPath = "App_Data/test.pdf"; | |
settings.Dock = DocumentViewerSettings.DockStyle.Fill; | |
settings.DocumentLoadSettings.PDFJS.BasePath = "/lib/pdf.js/"; | |
}).Render() | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment