Parameters for window.setZoomForDpi.
Set the zoom factor of the calling window's WebView to dpi / 96; as with window.setZoom, the default zoom in the preferences no longer applies to it afterwards. 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 result fields.
Parameters for
window.setZoomForDpi. Set the zoom factor of the calling window's WebView todpi / 96; as withwindow.setZoom, the default zoom in the preferences no longer applies to it afterwards. Fails withNOT_FOUNDwhen the calling window has no WebView of its own, and withOPERATION_FAILEDwhen WebView2 refuses the factor; that failure carries the result fields.