Open
Conversation
Created sample that implements the WebViewer in WPF using WebView2. The sample creates a virtual host for the WebView2 to make use of the local files.
1. Added entry to lerna.json. 2. Added entry in root level README
Spacing correction
lbittner-pdftron
requested changes
Apr 21, 2025
Updated README
"Open the webviewer-wpf/lib/WebView2.sln file in Visual Studio."
Updated copy script to move resources to standard path location
" await fs.copy('./node_modules/@pdftron/webviewer/public', './lib/webviewer');
await fs.copy('./node_modules/@pdftron/webviewer/webviewer.min.js', './lib/webviewer/webviewer.min.js');"
Added URL to sample PDF in index.tml
Updated the `MainWindow.xaml.cs` to account for the lib folder path
Moved resources to \lib\'
Collaborator
Author
|
In a separate PR, I removed the old directory that was replaced with the /lib/webviewer path: PR:60 |
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Description
Created a WPF implementation of the WebViewer.
Checklist
If you are adding a new sample
lerna.jsonwith the new sample nameIf you are removing an old sample
lerna.json