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.

貢獻者指南