←Select platform

Threshold Property

Summary

Gets or sets a value that represents the threshold at or above which colors are to be inverted.

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) NSUInteger 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

The valid range is from 0 - 65535 for 64-bit, 48-bit and 16-bit grayscale images and from 0 - 4095 for 12-bit grayscale images. Otherwise, it is from 0 to 255.

Example

Refer to SolarizeCommand.

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.Color Assembly