ElectronNET/Electron.NET

Window Zoom Controls

オープン

#956 opened on 2025/12/02

 (18 件のコメント) (0 件のリアクション) (0 人の担当者)C# (710 件のフォーク)batch import
Featureapihelp wanted

Repository metrics

Stars
 (7,040 個のスター)
PR merge metrics
 (平均マージ 4d 13h) (30d で 7 merged PRs)

説明

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.

コントリビューターガイド