ComponentOne FlexPivot for WinForms
C1.Win.FlexChart.4.8 Assembly / C1.Win.Chart.Annotation Namespace / Shape Class / Distance Method
X coordinate of the point.
Y coordinate of the point.

In This Topic
    Distance Method (Shape)
    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 Double, _
       ByVal y As Double _
    ) As Double
    protected virtual double Distance( 
       double x,
       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