foo-webview-sdk
    Preparing search index...

    Interface WindowSetZoomParams

    Parameters for window.setZoom. Set the zoom factor of the calling window's WebView. From then on, for the rest of the session, the default zoom in the preferences no longer applies to this WebView. Fails with NOT_FOUND when the calling window has no WebView of its own, and with OPERATION_FAILED when WebView2 refuses the factor; that failure carries the zoom in effect.

    interface WindowSetZoomParams {
        zoom?: number;
    }
    Index
    zoom?: number

    Zoom factor; 1 is 100 %.

    1