←Select platform

Intensity Property

Summary
Gets or sets the threshold of the color intensity values. This is a dependency property.
Syntax
C#
VB
C++
public double Intensity { get; set; } 
  
Public Property Intensity As Double 
public: 
property double Intensity { 
   double get(); 
   void set (    double ); 
} 

Property Value

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

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.

Example

For XAML example, refer to IntensityDetectEffect.

For C#/VB examples, refer to IntensityDetectEffect.

Requirements

Target Platforms

Help Version 22.0.2021.8.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Media.Effects Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.