Gauges for WinForms | ComponentOne
C1.Win.C1Gauge.4.5.2 Assembly / C1.Win.C1Gauge Namespace / C1GaugePointer Class / GetValueAt Method / GetValueAt(Int32,Int32,Boolean) Method

In This Topic
    GetValueAt(Int32,Int32,Boolean) Method
    In This Topic
    Returns the Value that corresponds to the specified mouse position (x, y), relative to the parent control. If the 'dragging' parameter is True the returned value is the result of dragging the pointer from its current position to (x, y).
    Syntax
    'Declaration
     
    Public Overloads Function GetValueAt( _
       ByVal x As System.Integer, _
       ByVal y As System.Integer, _
       ByVal dragging As System.Boolean _
    ) As System.Double
    public System.double GetValueAt( 
       System.int x,
       System.int y,
       System.bool dragging
    )

    Parameters

    x
    y
    dragging
    Remarks
    The result is scaled to the pointer's admitted region.
    See Also