GoDiagram Web Reference
GetValueForPoint Method (Indicator)

a PointF in document coordinates
This method is called by OnActionAdjusted and OnAction to determine the appropriate scale value given the current mouse point.
Syntax
'Declaration
 
Public Overridable Function GetValueForPoint( _
   ByVal p As PointF _
) As Double
public virtual double GetValueForPoint( 
   PointF p
)

Parameters

p
a PointF in document coordinates

Return Value

By default this just returns the Scale's IGraduatedScale.GetValueAtPoint.
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

Indicator Class
Indicator Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback