ElectronNET/Electron.NET

Window Zoom Controls

开放

#956 创建于 2025年12月2日

 (18 条评论) (0 个反应) (0 位负责人)C# (710 个派生)batch import
Featureapihelp wanted

仓库指标

星标
 (7,040 个星标)
PR 合并指标
 (平均合并 4天 13小时) (30 天内合并 7 个 PR)

描述

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.

贡献者指南