ElectronNET/Electron.NET

Window Zoom Controls

Ouverte

#956 ouverte le 2 déc. 2025

 (18 commentaires) (0 réaction) (0 personne assignée)C# (710 forks)batch import
Featureapihelp wanted

Métriques du dépôt

Stars
 (7 040 étoiles)
Métriques de merge PR
 (Merge moyen 4j 13h) (7 PRs mergées en 30 j)

Description

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.

Guide contributeur