FlexChart | ComponentOne
C1.Win.FlexChart.4.5.2 Assembly / C1.Win.Chart.Annotation Namespace / Line Class / Distance Method
X coordinate of the point.
Y coordinate of the point.

In This Topic
    Distance Method (Line)
    In This Topic
    Calculates distance from point(x,y) to the start point of line annotation.
    Syntax
    'Declaration
     
    Protected Overrides Function Distance( _
       ByVal x As System.Double, _
       ByVal y As System.Double _
    ) As System.Double
    protected override System.double Distance( 
       System.double x,
       System.double y
    )

    Parameters

    x
    X coordinate of the point.
    y
    Y coordinate of the point.

    Return Value

    The distance from point(x,y) to the start point of line annotation.
    See Also