Created
March 20, 2023 16:51
-
-
Save bjoerntx/ef5b292aacd6b810f0fe82b7f670f8f5 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 | |
<div style="width: 800px; height: 600px;"> | |
@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