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
Intensity Property
See Also 
Leadtools.Windows.Media.Effects Namespace > IntensityDetectEffect Class : Intensity Property



Gets or sets the threshold of the color intensity values. This is a dependency property. Supported in Silverlight

Syntax

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

Property Value

The threshold of the color intensity values. Default value is 128.5.

Example

For XAML example, refer to IntensityDetectEffect.

For C#/VB examples, refer to IntensityDetectEffect.

Remarks

This effect converts the image to a black and white, based on the threshold Intensity. Values less than Intensity are set to black while values larger than Intensity are set to white.

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