LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Lightness Property
See Also 



Gets or sets a "percentage" value that indicates whether the pixels that are replaced are lightened or darkened.

Syntax

Visual Basic (Declaration) 
Public Property Lightness As Integer
Visual Basic (Usage)Copy Code
Dim instance As RemoveRedEyeCommand
Dim value As Integer
 
instance.Lightness = value
 
value = instance.Lightness
C# 
public int Lightness {get; set;}
C++/CLI 
public:
property int Lightness {
   int get();
   void set (    int value);
}

Property Value

"Percentage" value that indicates whether the pixels that are replaced are lightened or darkened. If this value is greater than 100, the replaced pixels will be lightened. If this value is less than 100, the replaced pixels will be darkened. This method preserves the lightness of the original pixels and substitutes the red color with the new color.

Example

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also