←Select platform

Threshold Property

Summary

Gets or sets the threshold value used to determine which pixels are going to be filtered.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int Threshold { get; set; } 
Public Property Threshold As Integer 
public int Threshold {get; set;} 
@property (nonatomic, assign) NSInteger threshold 
public int getThreshold() 
public void setThreshold(int value) 
             
 <br/>get_Threshold();<br/>set_Threshold(value);<br/>Object.defineProperty('Threshold');  
public: 
property int Threshold { 
   int get(); 
   void set (    int ); 
} 

Property Value

Threshold value used to determine which pixels are going to be filtered. If the difference determined for a pixel is less than this value, the pixel is set to 0. If the difference is greater, the filter will be applied to the pixel. This property only accepts positive values.

Example

Refer to EdgeDetectEffectCommand.

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.ImageProcessing.Effects Assembly