Export (0) Print
Expand All

isCollapsed property

Retrieves whether a selection is collapsed or empty.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 7.6.1Internet Explorer 9

 

Syntax

HRESULT value = object.get_isCollapsed(* p);

Property values

Type: VARIANT_BOOL

One of the following values:

VARIANT_FALSE (false)

The selection is not collapsed.

VARIANT_TRUE (true)

The selection is collapsed or empty.

Standards information

Remarks

A collapsed selection has its start and end points set to the same value, which renders it empty.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft