[]
        
(Showing Draft Content)

C1.Win.C1Chart.AlarmZonesCollection.AlarmZoneAtCoord

AlarmZoneAtCoord Method

AlarmZoneAtCoord(int, int)

Retrieves a reference to the foremost AlarmZone that lies under the specified client coordinates.

Declaration
public AlarmZone AlarmZoneAtCoord(int XCoord, int YCoord)
Parameters
Type Name Description
int XCoord

The X client coordinate to test.

int YCoord

The Y client coordinate to test.

Returns
Type Description
AlarmZone

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.