Help Center

CWebView2.IsZoomControlEnabledproperty

Determines whether the user is able to impact the zoom of the WebView.

WebViewpropertydocumented

Syntax

PROPERTY IsZoomControlEnabled () AS BOOLEAN
PROPERTY IsZoomControlEnabled (BYVAL enabled AS BOOLEAN) AS HRESULT

Description

Determines whether the user is able to impact the zoom of the WebView.

Remarks

When disabled, the user is not able to zoom using Ctrl++, Ctrl+-, or Ctrl+mouse wheel, but the zoom is set using ZoomFactor API. The default value is TRUE.

Reference

  • Defined in AfxNova/CWebView2.inc:1179
  • Documented in WebView/CWebWiew2 Class.md
  • Topic: CWebView2 Class