Share via


TPSetView (Windows Embedded CE 6.0)

1/6/2010

This function moves the offset of the viewport to a given position and sets the zoom factor. You can use this to scroll tiles.

Syntax

HRESULT TPSetView(
    HANDLE hTileProxy,
    POINT ptScrollPosition,
   float fZoomFactor);

Parameters

  • hTileProxy
    [in] The handle of the TileProxy.
  • ptScrollPosition
    [in] The position to scroll to, relative to the upper-left corner of the HTML window.
  • fZoomFactor
    [in] The zoom factor to set (for example, set a value of 2.0 to magnify by a factor of 2).

Return Value

This function returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as 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

TPGetViewScale
TPChangeZoom
TPChangeZoomScale

Other Resources

Internet Explorer Embedded Tiling Engine Functions
Customizing the Browser User Interface