IMcGraphObjGroupItem Property
|
|
Returns one of the objects contained in this group.
Namespace:
MediaCy.IQL.Display.Overlays
Assembly:
MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
SyntaxReadOnly Default Property Item (
PositionOrIndex As Object
) As Object
Get
Parameters
- PositionOrIndex
- Type: SystemObject
Either a McGraphObj object, a single integral group index
(from zero to Count-1), or a Variant containing the X,Y position of an
object (a SINGLEPOINT UDT or an array of 2 Single's). The target position
is given in image coordinates.
Property Value
Type:
Object
RemarksEither the object X,Y position or the group member index can be used to
identify this object.
Lookup by position may be ambiguous, because multiple objects may overlie the
same position. Furthermore, since McGraphObjPoint objects are so small, an
initial pass is made through the objects in the reverse of their group
membership index and any McGraphObjPoint found that is very close to the
position is returned. If no McGraphObjPoint is found then a second reverse pass
is made to see if any other object intersects the given position. The if
multiple objects intersect the given position, then the one with the highest
DrawingOrder (i.e., the front-most) will be exposed as the Item.
If the specified item is not found, then Nothing is returned.
See Also