type property
Retrieves the type of selection.
Syntax
HRESULT value = object.get_type(* p);
Property values
Type: BSTR
None
No selection/insertion point.
Text
Specifies a text selection.
Control
Specifies a control selection, which enables dimension controls allowing the selected object to be resized.