LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Factor Property
See Also 
Leadtools.Windows.Media.Effects Namespace > WindowLevelEffect Class : Factor Property



Gets or sets the factor to be applied in the function operation specified in CurveType. This is a dependency property. Supported in Silverlight

Syntax

Visual Basic (Declaration) 
Public Property Factor As Double
Visual Basic (Usage)Copy Code
Dim instance As WindowLevelEffect
Dim value As Double
 
instance.Factor = value
 
value = instance.Factor
C# 
public double Factor {get; set;}
C++/CLI 
public:
property double Factor {
   double get();
   void set (    double value);
}

Property Value

The factor to be applied in the function operation specified in CurveType. Default value is 0.

Example

For C#/VB examples, refer to WindowLevelEffect.

Remarks

This parameter is used only if CurveType is CurveType.Exponential, CurveType.Logarithmic or CurveType.Sigmoid. If CurveType.Exponential or CurveType.Sigmoid is selected its value can be any value (+/-). If CurveType.Logarithmic is selected its value should be >= 0. If Factor = 0, the lookup table will be filled linearly.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also