Share via


IBrowser2::put_ZoomLevel

The ZoomLevel property gets or sets the zoom level.

To set the value of the ZoomLevel property, call the property method described here.

To get the value of the ZoomLevel property, see the get_ZoomLevel property method.

Syntax

HRESULT put_ZoomLevel(
  DWORD dwZoomLevel
);

Parameters

  • dwZoomLevel
    [in] Variable that contains a number from 0–4 specifying the zoom level to set. See Remarks for the possible zoom level values.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Remarks

The following table lists the possible values for the pdwZoomLevel parameter.

Value Description
0 Smallest zoom level
1 Smaller zoom level
2 Medium zoom level
3 Larger zoom level
4 Largest zoom level

Requirements

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 4.0 and later
Header: webvw.h
Library: webvw.lib

See Also

IBrowser2

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.