Partager via


IHighlightSegment interface

This interface enables you to control a highlighted section of a document.

Members

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

Remarks

This interface does not provide any methods of its own beyond those available from its parent interface, ISegment. It provides type checking for the segments added or moved from the highlighted sections through the IHighlightRenderingServices interface.

The IHighlightRenderingServices::AddSegment method creates IHighlightSegment interfaces and retrieves pointers to them so that you can manage the highlighted sections in a document. Use IHighlightRenderingServices::RemoveSegment to remove the highlighting from a section and IHighlightRenderingServices::MoveSegmentToPointers to redefine a highlighted section and its style.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

ISegment