Partager via


TPGetViewScale (Windows Embedded CE 6.0)

1/6/2010

This function gets the current zoom factor.

Syntax

HRESULT TPGetViewScale(
    HANDLE hTileProxy,
    float* pViewscale);

Parameters

  • hTileProxy
    [in] Handle to the TileProxy.
  • pViewscale
    [out] Pointer to the zoom factor (for example, a value of 2.0 indicates magnification by a factor of 2).

Return Value

This function returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, in addition to the following:

  • S_OK
    The method completed successfully.

Requirements

Header TileProxy.h
Library tileengine.dll
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

TPSetView
TPChangeZoom
TPChangeZoomScale

Other Resources

Internet Explorer Embedded Tiling Engine Functions
Customizing the Browser User Interface