ComponentOne Chart for .NET (2.0) Search HelpCentral 

ChartLabels.LabelFromCoord Method

Used to obtain the LabelIndex at the specified coordinate.

[Visual Basic]

Public Function LabelFromCoord( _

ByVal XCoord As Integer, _

ByVal YCoord As Integer, _

ByRef LabelIndex As Integer _

) As Boolean

[C#]

public bool LabelFromCoord(

int XCoord,

int YCoord,

ref int LabelIndex

);

[Delphi]

public function LabelFromCoord(

XCoord: Int32;

YCoord: Int32;

var LabelIndex: Int32

): Boolean;

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

ChartLabels Class | ChartLabels Members | C1.Win.C1Chart Namespace | ChartLabels Class


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.