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

In This Topic
    Distance Method (AnnotationBase)
    In This Topic
    Calculates distance from point(x,y) to the start point of line annotation.
    Syntax
    'Declaration
     
    Protected Overridable Function Distance( _
       ByVal x As System.Double, _
       ByVal y As System.Double _
    ) As System.Double
    protected virtual 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