开发者

Incerease DPI resoultion for web page loaded into WebBrowser conriol in C#

开发者 https://www.devze.com 2022-12-11 12:56 出处:网络
We would like to display text and images of an web page in higher DPI for example take 300 DPI, but by default C# webbBrowser control uses 72/96 DPI which is currently system uses.

We would like to display text and images of an web page in higher DPI for example take 300 DPI, but by default C# webbBrowser control uses 72/96 DPI which is currently system uses.

Is their any ways to setup the user defined DPI value to the webbBrowser control so tha开发者_JS百科t web page gets rendered in higher DPI value.

Any help will be greatly appreciated. Thanks.


No, that's not possible. Web browsers are designed for screen resolutions (72dpi). If you need to print at higher resolutions, I suggest generating a PDF document.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号