Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
isCollapsed

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:
© 2015 Microsoft