Share via


IBrowser2::get_ZoomLevel

The ZoomLevel property gets or sets the zoom level.

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

To set the value of the ZoomLevel property, see the put_ZoomLevel property method.

Syntax

HRESULT get_ZoomLevel(
  DWORD * pdwZoomLevel
);

Parameters

  • pdwZoomLevel
    [out] Reference to a variable that receives a number from 0–4 specifying the zoom level. 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.