ComponentOne Gauges for WPF and Silverlight
C1.WPF.Gauge Namespace / C1Gauge Class / GetGeometry Method
Value where the geometry has to start.
Value where the geometry has to end.
Relative (0-1) starting offset of the element in the y-axis.
Relative (0-1) ending offset of the element in the y-axis.
Relative (0-1) staring width of the geometry.
Relative (0-1) ending width of the geometry.

In This Topic
    GetGeometry Method (C1Gauge)
    In This Topic
    Builds the geometry used to represent the fill of an element from a starting value to an end one.
    Syntax
    'Declaration
     
    
    Public MustOverride Function GetGeometry( _
       ByVal startValue As Double, _
       ByVal endValue As Double, _
       ByVal yAxisStartLocation As Double, _
       ByVal yAxisEndLocation As Double, _
       ByVal relativeStartWidth As Double, _
       ByVal relativeEndWidth As Double _
    ) As Geometry

    Parameters

    startValue
    Value where the geometry has to start.
    endValue
    Value where the geometry has to end.
    yAxisStartLocation
    Relative (0-1) starting offset of the element in the y-axis.
    yAxisEndLocation
    Relative (0-1) ending offset of the element in the y-axis.
    relativeStartWidth
    Relative (0-1) staring width of the geometry.
    relativeEndWidth
    Relative (0-1) ending width of the geometry.

    Return Value

    Geometry used to represent the fill of the element.
    See Also