[]
        
(Showing Draft Content)

C1.WPF.Gauge.C1LinearGauge.GetRangeRect

GetRangeRect Method

GetRangeRect(GaugeRange, double)

Get the rectangle of gauge range.

Declaration
protected virtual Rect GetRangeRect(GaugeRange range, double value)
Protected Overridable Function GetRangeRect(range As GaugeRange, value As Double) As Rect
Parameters
Type Name Description
GaugeRange range

The gauge range.

double value

The gauge value.

Returns
Type Description
Rect

The rectangle of gauge range.

GetRangeRect(GaugeRange)

Get the rectangle of gauge range.

Declaration
public Rect GetRangeRect(GaugeRange rng)
Public Function GetRangeRect(rng As GaugeRange) As Rect
Parameters
Type Name Description
GaugeRange rng

The gauge range.

Returns
Type Description
Rect

The rectangle of gauge range.