Search code examples
winformscontrolsdrawpdf-viewerwebview2

WinForms WebView2 not showing pdf draw tools


I have a WinForms application and a form with WebView2 control. I set Source property of the Webview2 control to a local pdf file. When I run the program, the pdfviewer is showing the pdf document, but the draw and highlight controls are not showing.

When I open the pdf in edge browser, the controls are showing. Where am I doing the mistake.


Solution

  • The feature to annotate PDFs is disabled in WebView2. You can read more about this on Disabling Feature: PDF Annotations Support.

    Additionally, you can open a feature request to enable this feature on the WebView2 Feedback repo.