[]
        
(Showing Draft Content)

C1.Win.Gauge.C1GaugePointer.GetValueAt

GetValueAt Method

GetValueAt(int, int)

Returns the Value that corresponds to the specified mouse position (x, y), relative to the parent control.

Declaration
public double GetValueAt(int x, int y)
Public Function GetValueAt(x As Integer, y As Integer) As Double
Parameters
Type Name Description
int x
int y
Returns
Type Description
double
Remarks

The result is scaled to the pointer's admitted region.

GetValueAt(int, int, bool)

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).

Declaration
public double GetValueAt(int x, int y, bool dragging)
Public Function GetValueAt(x As Integer, y As Integer, dragging As Boolean) As Double
Parameters
Type Name Description
int x
int y
bool dragging
Returns
Type Description
double
Remarks

The result is scaled to the pointer's admitted region.