Help Center

CWebView2.AddZoomFactorChangedmethod

Adds an event handler for the ZoomFactorChanged event.

WebViewmethoddocumented

Syntax

FUNCTION AddZoomFactorChanged ( BYVAL eventHandler AS Afx_ICoreWebView2ZoomFactorChangedEventHandler PTR, BYVAL token AS EventRegistrationToken PTR) AS HRESULT
Also documented as RemoveZoomFactorChanged — one description covers them all.

Parameters

NameDescription
eventHandlerPointer to an ICoreWebView2ZoomFactorChangedEventHandler.
tokenToken that uniquely identifies the subscription.

Description

Adds/removes an event handler for the ZoomFactorChanged event.

Reference

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