IElementBehaviorLayout2 interface

Extends the IElementBehaviorLayout interface, which enables binary behaviors to participate in the layout process.

Members

The IElementBehaviorLayout2 interface inherits from the IUnknown interface but does not have additional members.

Remarks

A behavior implements the IElementBehaviorLayout2 interface to get the baseline position of the element that is implemented by the behavior.

MSHTML queries the host application for the IElementBehaviorLayout2 interface. If the interface is available, MSHTML calls the IElementBehaviorLayout2::GetTextDescent method, which determines the pixel offset between the bottom of the element and its baseline.

In Microsoft Internet Explorer 6, This interface extends the IElementBehaviorLayout interface, which enables binary behaviors to participate in the layout process. IElementBehaviorLayout2 exposes the IElementBehaviorLayout2::GetTextDescent method, which determines the pixel offset between the bottom of the element and its baseline.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

See also

Reference

IElementBehaviorLayout::GetLayoutInfo

IElementBehaviorLayout::GetPosition

IElementBehaviorLayout::GetSize

IElementBehaviorLayout::MapSize