This topic has not yet been rated - Rate this topic

IElementSegment interface

This interface provides methods that control a fragment of HTML markup in the current editable selection that consists of a single element.

Members

The IElementSegment interface inherits from ISegment but does not have additional members.

Remarks

To obtain an IElementSegment interface for a fragment of HTML markup representing an element, use the ISelectionServices::AddElementSegment method.

The selection object uses element segments to mark fragments of HTML markup that are whole elements, in particular control elements such as input and img. They are essentially control selections in the editor and their type is SELECTION_TYPE_Control.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference
ISelectionServices
ISegment

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.