Partager via


ISegment interface

This interface provides a method that creates containers (segments) for fragments of HTML markup in the current editable selection. These segments can include both a range of elements and element fragments.

Members

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

Remarks

To obtain an ISegment interface for a fragment of HTML markup, use the ISelectionServices::AddSegment method.

The selection object and selection services use segments to mark fragments of HTML markup. They are essentially text selections in the editor and their type is SELECTION_TYPE_Text.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference

ISelectionServices

IElementSegment