IASHTMLControl::get_VisibleRect

This method retrieves a RECT structure that defines the currently visible portion of the HTML document.

Syntax

HRESULT get_VisibleRect ( RECT *rcVisible );

Parameters

rcVisible
RECT structure that defines the currently visible portion of the document.

Return Values

An appropriate HRESULT value is returned.

Remarks

The first two members of the rcVisible RECT structure contain the current HScroll and VScroll values, respectively. They define the upper-left corner of the visible rectangle.