ComponentOne Gauges for WPF and Silverlight
GetTransform Method (C1Gauge)

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).
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 System.Windows.Media.Transform
public abstract System.Windows.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

Reference

C1Gauge Class
C1Gauge Members