2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.5.2 Assembly / C1.Win.C1Chart Namespace / AlarmZone Class / IsInsideZone Method

In This Topic
    IsInsideZone Method
    In This Topic
    Returns true if the specified client coordinate lies within the shape of the AlarmZone. AlarmZones may overlap, with one more AlarmZones on top of others. This method returns true as long as the coordinate is within the bounds of the AlarmZone, regardless of whether the AlarmZone is covered by another at the specified coordinate.
    Syntax
    'Declaration
     
    Public Function IsInsideZone( _
       ByVal XCoord As System.Integer, _
       ByVal YCoord As System.Integer _
    ) As System.Boolean
    public System.bool IsInsideZone( 
       System.int XCoord,
       System.int YCoord
    )

    Parameters

    XCoord
    YCoord
    Remarks
    AlarmZones may overlap, with one more AlarmZones on top of others. This method returns true as long as the coordinate is within the bounds of the AlarmZone, regardless of whether the AlarmZone is covered by another at the specified coordinate.
    See Also