ElectronNET/Electron.NET

Window Zoom Controls

Open

#956 建立於 2025年12月2日

在 GitHub 查看
 (18 留言) (0 反應) (0 負責人)C# (7,040 star) (710 fork)batch import
Featureapihelp wanted

描述

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.

貢獻者指南