2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / ChartLabels Class / LabelFromCoord Method
X client coordinate.
Y client coordinate.
Label index.

In This Topic
    LabelFromCoord Method
    In This Topic
    Used to obtain the LabelIndex at the specified coordinate.
    Syntax
    'Declaration
     
    Public Function LabelFromCoord( _
       ByVal XCoord As System.Integer, _
       ByVal YCoord As System.Integer, _
       ByRef LabelIndex As System.Integer _
    ) As System.Boolean
    public System.bool LabelFromCoord( 
       System.int XCoord,
       System.int YCoord,
       ref System.int LabelIndex
    )

    Parameters

    XCoord
    X client coordinate.
    YCoord
    Y client coordinate.
    LabelIndex
    Label index.

    Return Value

    Returns true if a label is present at the specified coordinates.
    See Also