The ROIObject class provides methods and properties common to all Origin region of interest objects. An Origin region of interest object is used to identify a region of interest in an Origin matrix.
An Origin C ROIObject is a wrapper object that is a reference to an internal Origin region of interest object. Origin C wrapper objects do not actually exist in Origin and merely refer to the internal Origin object. Consequently, multiple Origin C wrapper objects can refer to the same internal Origin object.
The ROIObject class is derived from the GraphObject class from which it inherits methods and properties.
GraphLayer gl = Project.ActiveLayer();
ro=gl.GraphObjects("YL"); //refer to an GraphObject