ComponentOne 3D Chart for WinForms
C1.Win.C1Chart3D.4.8 Assembly / C1.Win.C1Chart3D Namespace / Chart3DLabels Class / LabelFromCoord Method
X client coordinate in pixels.
Y client coordinate in pixels.
Label index.

In This Topic
    LabelFromCoord Method
    In This Topic
    Gets the label index at the specified location.
    Syntax
    'Declaration
     
    Public Function LabelFromCoord( _
       ByVal x As System.Integer, _
       ByVal y As System.Integer, _
       ByRef labelIndex As System.Integer _
    ) As System.Boolean
    public System.bool LabelFromCoord( 
       System.int x,
       System.int y,
       ref System.int labelIndex
    )

    Parameters

    x
    X client coordinate in pixels.
    y
    Y client coordinate in pixels.
    labelIndex
    Label index.

    Return Value

    This method returns true when a label exists at the specified coordinate. The LabelIndex is set as it is passed by reference.
    See Also