TPGetViewDocSize (Windows Embedded CE 6.0)
1/6/2010
This function gets the current size of the HTML page, multiplied by the current zoom factor. The browser uses this function for panning.
Syntax
HRESULT TPGetViewDocSize(
HANDLE hTileProxy,
SIZE* pDocSize);
Parameters
- hTileProxy
[in] Handle to the TileProxy object.
- pDocSize
[out] Pointer to the SIZE structure that contains the width and height of the window, multiplied by the current zoom factor. For example, if the Web page is 500x500 pixels and the zoom factor is 1.5, then the size in this parameter is 750x750.
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
Other Resources
Internet Explorer Embedded Tiling Engine Functions
Customizing the Browser User Interface