2.2.4.41.2 Selection::IsSelected

Description

Test to see whether a specific object is selected.

Syntax

BOOL IsSelected( OriginObject & obj )

Parameters

obj
[input] Object to be tested.

Return

Return TRUE if obj is selected, or FALSE otherwise.

Examples

EX1

BOOL Selection_IsSelected_Ex1(GraphObject& gr)
{
    return Selection.IsSelected(gr);
}

Remark

See Also

Add, Remove

Header to Included

origin.h