Share via


TPGetViewVisBounds (Windows Embedded CE 6.0)

1/6/2010

This function retrieves the dimensions of the viewport, multiplied by the current zoom factor.

Syntax

HRESULT TPGetViewVisBounds(
    HANDLE hTileProxy,
    RECT* pRect);

Parameters

  • hTileProxy
    [in] Handle to the TileProxy object.
  • pRect
    [out] Pointer to the RECT structure that contains the x,y coordinates of the bounding rectangle in pixels, multiplied by the current zoom factor.

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.

Remarks

The dimensions are the x,y coordinates of the upper-left and bottom-right corners of the bounding rectangle, relative to the upper-left corner of the HTML window. You can use this function with TPSetViewPosition or TPChangePos for panning.

Requirements

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

See Also

Reference

TPSetViewPosition
TPChangePos
TPGetViewPosition
TPWindowToPage
TPGetViewDocSize

Other Resources

Internet Explorer Embedded Tiling Engine Functions
Customizing the Browser User Interface