ElectronNET/Electron.NET

Window Zoom Controls

Aperta

#956 aperta il 2 dic 2025

 (18 commenti) (0 reazioni) (0 assegnatari)C# (710 fork)batch import
Featureapihelp wanted

Metriche repository

Star
 (7040 stelle)
Metriche merge PR
 (Merge medio 4g 13h) (7 PR mergiate in 30 g)

Descrizione

Is there currently any way to programmatically set/get the zoom level/factor of a window? I believe the electron side exposes a zoom API on the webFrame, but the BrowserWindow and WebContents classes currently don't provide any possibility to use it.

I understand that this might not be a very urgent feature, but it would be great to have nonetheless. Likewise, I would also gladly accept any alternative solution to get this to work.

Guida contributor