The IDLgrROIGroup::Remove procedure method removes an object from the ROI group.

Syntax


Obj->[IDLgrROIGroup::]Remove [, Child_object] [, POSITION=index] [, /ALL]

Arguments


Child_object

An object reference or array of object references for the objects to be removed from the ROI group. If Child_object is not provided (and neither the ALL nor POSITION keyword are set), the first object in the ROI group will be removed.

Keywords


ALL

Set this keyword to remove all objects from the ROI group. If this keyword is set, the Child_object argument is not required.

POSITION

Set this keyword equal to the zero-based index of the object to be removed. If the Child_object argument is supplied, this keyword is ignored.

Version History


6.4

Introduced