GoDiagram Web Reference
GetValueForPoint Method (IndicatorNeedle)

a PointF in document coordinates
Determine the appropriate value for this kind of indicator given a mouse point.
Syntax
'Declaration
 
Public Overrides Function GetValueForPoint( _
   ByVal p As PointF _
) As Double
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.GoWeb.IGoActionObject is actively being manipulated by the user.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IndicatorNeedle Class
IndicatorNeedle Members
Base Implementation in GetValueForPoint

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback