Retrieves a reference to the foremost AlarmZone that lies under the specified client coordinates.
[Visual Basic]
Public Function AlarmZoneAtCoord( _
ByVal XCoord As Integer, _
ByVal YCoord As Integer _
) As AlarmZone
Parameters
XCoord
The X client coordinate to test.
YCoord
The Y client coordinate to test.
Return Value
A reference to the AlarmZone that is foremost at the specified client coordinate.
Remarks
AlarmZones can overlap the same space in the plot area. If multiple AlarmZones lie under the specified point, this method returns a reference to the foremost AlarmZone (that is, on top). To obtain a list of all AlarmZones that lie under the specified coordinate, enumerate all AlarmZones in the collection and test each one using the AlarmZone.IsInsideZone method.
See Also
AlarmZonesCollection Class | AlarmZonesCollection Members | C1.Win.C1Chart Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |