Search code examples
javascriptc#zoominggeckofx

C# - Zoom GeckoWebBrowser (GeckoFX 45) like in Mozilla Firefox


I want to zoom GeckoWebBrowser like in Mozilla Firefox (on image) using C# or JavaScript enter image description here

Thanks for help.


Solution

  • Try this feature:

    this.BrowserForThisInstance.GetDocShellAttribute().SetZoomAttribute(34);

    enter image description here

    Regards