I am using a WebView2 control in a WPF application in C# to render a local pdf document.
It is working fine. However, I’d like the “Fit to Page” button default to “Fit to width” when a PDF file is displayed in the WebView2 control.
How can I change the default behavior?