Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

See also

Reference
IElementBehaviorLayout::GetLayoutInfo
IElementBehaviorLayout::GetPosition
IElementBehaviorLayout::GetSize
IElementBehaviorLayout::MapSize

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.