Problems having content in webbrowser scale automatically in Windows Form Application
问题 I'm trying to create a program which scrolls through files located on my computer and displays the files. This is working for me so far but I'm getting content in actual size so the webbrowser adds a scrollbar(obviously). I want the content to scale automatically so it fits in the webbrowser without having to scroll. Code: WebBrowser web = new WebBrowser(); System.Drawing.Rectangle workingRectangle = Screen.PrimaryScreen.WorkingArea; int heightWebcontrol = workingRectangle.Height / 100 * 85;