GoDigram for .NET Framework and .NET Core
Northwoods.Go.Instruments Namespace / IndicatorNeedle Class / GetValueForPoint Method
a PointF in document coordinates
In This Topic
    GetValueForPoint Method (IndicatorNeedle)
    In This Topic
    Determine the appropriate value for this kind of indicator given a mouse point.
    Syntax
    public override double GetValueForPoint( 
       PointF p
    )

    Parameters

    p
    a PointF in document coordinates

    Return Value

    The result is the scale's value at the intersection point between the Scale and the line between the PivotPoint and the mouse point.
    Remarks
    This method is called by OnActionAdjusted and OnAction while this Northwoods.Go.IGoActionObject is actively being manipulated by the user.
    See Also