Compartilhar via


IHTMLTextContainer interface

This interface provides access to properties and methods that are common to the BODY, button, caption, td, div, marquee, and textArea elements.

Members

The IHTMLTextContainer interface inherits from the IDispatch interface. IHTMLTextContainer also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLTextContainer interface has these methods.

Method Description
createControlRange

Creates a controlRange collection of nontext elements.

 

Properties

The IHTMLTextContainer interface has these properties.

Property Description

onscroll

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onscroll event.

scrollHeight

Retrieves the scrolling height of the object.

scrollLeft

Sets or retrieves the distance between the left edge of the object and the leftmost portion of the content currently visible in the window.

scrollTop

Sets or retrieves the distance between the top of the object and the topmost portion of the content currently visible in the window.

scrollWidth

Retrieves the scrolling width of the object.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch