Retrieves a reference to the foremost AlarmZone that lies
under the specified client coordinates.
Namespace:
C1.Win.C1ChartAssembly: C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)
Syntax
C# |
---|
public AlarmZone AlarmZoneAtCoord( int XCoord, int YCoord ) |
Visual Basic |
---|
Public Function AlarmZoneAtCoord ( _ XCoord As Integer, _ YCoord As Integer _ ) As AlarmZone |
Parameters
- XCoord
- Type: System..::..Int32
The X client coordinate to test.
- YCoord
- Type: System..::..Int32
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
(i.e. - 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.