ComponentOne Gauges for WPF and Silverlight
C1.WPF.Gauge Namespace / C1Gauge Class / GetTransform Method
Value to locate the element.
Relative offset of the element in the y-axis.
false to avoid rotations (useful for text elements).

In This Topic
    GetTransform Method (C1Gauge)
    In This Topic
    Builds transformation required to place an element in a specific value position within the C1Gauge.
    Syntax
    'Declaration
     
    
    Public MustOverride Function GetTransform( _
       ByVal value As Double, _
       ByVal yAxisLocation As Double, _
       ByVal rotate As Boolean _
    ) As Transform
    public abstract Transform GetTransform( 
       double value,
       double yAxisLocation,
       bool rotate
    )

    Parameters

    value
    Value to locate the element.
    yAxisLocation
    Relative offset of the element in the y-axis.
    rotate
    false to avoid rotations (useful for text elements).

    Return Value

    Transform that should be applied to the element.
    See Also