ComponentOne Gauge for UWP
C1.UWP.Gauge Assembly / C1.Xaml.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 System.Double, _
       ByVal yAxisLocation As System.Double, _
       ByVal rotate As System.Boolean _
    ) As Windows.UI.Xaml.Media.Transform
    public abstract Windows.UI.Xaml.Media.Transform GetTransform( 
       System.double value,
       System.double yAxisLocation,
       System.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