IZoomEvents::OnZoomPercentChanged Method

Notifies hosts of changes in the zoom state.

Syntax


HRESULT OnZoomPercentChanged(
    ulong ulZoomPercent
);

Parameters

ulZoomPercent
[in] Specifies zoom percentage.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

IZoomEvents::OnZoomPercentChanged was introduced in Windows Internet Explorer 7.

The event is fired when the zoom level is changed programmatically by calling the OLECMDID_OPTICAL_ZOOM command or by the user.

Show: