isCollapsed property

Retrieves whether a selection is collapsed or empty.

 

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.