ICoreWebView2Settings5

Undocumented in source.
version(Windows && inline_webview2_bindings && all)
interface ICoreWebView2Settings5 : ICoreWebView2Settings4 {
static const
GUID iid;
}

Members

Functions

get_IsPinchZoomEnabled
HRESULT get_IsPinchZoomEnabled(BOOL* enabled)

Pinch-zoom, referred to as "Page Scale" zoom, is performed as a post-rendering step, it changes the page scale factor property and scales the surface the web page is rendered onto when user performs a pinch zooming action. It does not change the layout but rather changes the viewport and clips the web content, the content outside of the viewport isn't visible onscreen and users can't reach this content using mouse.

put_IsPinchZoomEnabled
HRESULT put_IsPinchZoomEnabled(BOOL enabled)

Set the IsPinchZoomEnabled property

Inherited Members

From ICoreWebView2Settings4

get_IsPasswordAutosaveEnabled
HRESULT get_IsPasswordAutosaveEnabled(BOOL* value)

IsPasswordAutosaveEnabled controls whether autosave for password information is enabled. The IsPasswordAutosaveEnabled property behaves independently of the IsGeneralAutofillEnabled property. When IsPasswordAutosaveEnabled is false, no new password data is saved and no Save/Update Password prompts are displayed. However, if there was password data already saved before disabling this setting, then that password information is auto-populated, suggestions are shown and clicking on one will populate the fields. When IsPasswordAutosaveEnabled is true, password information is auto-populated, suggestions are shown and clicking on one will populate the fields, new data is saved, and a Save/Update Password prompt is displayed. It will take effect immediately after setting. The default value is FALSE. This property has the same value as CoreWebView2Profile.IsPasswordAutosaveEnabled, and changing one will change the other. All CoreWebView2s with the same CoreWebView2Profile will share the same value for this property, so for the CoreWebView2s with the same profile, their CoreWebView2Settings.IsPasswordAutosaveEnabled and CoreWebView2Profile.IsPasswordAutosaveEnabled will always have the same value.

put_IsPasswordAutosaveEnabled
HRESULT put_IsPasswordAutosaveEnabled(BOOL value)

Set the IsPasswordAutosaveEnabled property.

get_IsGeneralAutofillEnabled
HRESULT get_IsGeneralAutofillEnabled(BOOL* value)

IsGeneralAutofillEnabled controls whether autofill for information like names, street and email addresses, phone numbers, and arbitrary input is enabled. This excludes password and credit card information. When IsGeneralAutofillEnabled is false, no suggestions appear, and no new information is saved. When IsGeneralAutofillEnabled is true, information is saved, suggestions appear and clicking on one will populate the form fields. It will take effect immediately after setting. The default value is TRUE. This property has the same value as CoreWebView2Profile.IsGeneralAutofillEnabled, and changing one will change the other. All CoreWebView2s with the same CoreWebView2Profile will share the same value for this property, so for the CoreWebView2s with the same profile, their CoreWebView2Settings.IsGeneralAutofillEnabled and CoreWebView2Profile.IsGeneralAutofillEnabled will always have the same value.

put_IsGeneralAutofillEnabled
HRESULT put_IsGeneralAutofillEnabled(BOOL value)

Set the IsGeneralAutofillEnabled property.

Meta