ComponentOne Chart for .NET (2.0) Search HelpCentral 

AlarmZonesCollection.AlarmZoneAtCoord Method

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

[C#]

public AlarmZone AlarmZoneAtCoord(

int XCoord,

int YCoord

);

[Delphi]

public function AlarmZoneAtCoord(

XCoord: Int32;

YCoord: Int32

): 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.