Retrieves the distance, in pixels, between the left edge of the element and the leftmost portion of the content currently visible in the window.
Syntax
HRESULT get_scrollLeft( VARIANT *p );
Parameters
- p
- Address of a VARIANT structure that returns the element's scrollLeft parameter.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
get_scrollHeight, get_scrollTop, get_scrollWidth
Sets the distance, in pixels, between the left edge of the element and the leftmost portion of the content currently visible in the window.
Syntax
HRESULT put_scrollLeft( VARIANT v );
Parameters
- v
- VARIANT structure that contains the scrollLeft value to set.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
put_scrollTop , get_scrollHeight, get_scrollWidth