←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Media.Effects Assembly