←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
Objective-C
C++
Java
public int Threshold { get; set; } 
Public Property Threshold As Integer 
@property (nonatomic, assign) NSUInteger threshold 
public int getThreshold() 
public void setThreshold(int value) 
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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