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