Leadtools.ImageProcessing.Color Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Saturation Property
See Also 



Gets or sets a value that represents the percentage amount to change saturation, in tenths of percent.

Syntax

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

Return Value

Percentage amount to change saturation, in tenths of a percent. Valid values range from -1000 through 1000. This value is divided internally by 10. Negative values decrease the saturation of colors. Positive values increase the saturation. The saturation level is increased or decreased by a percentage of its present saturation level. For example, an increase of 20 Likewise, increasing the saturation level 100 doubles the saturation level (L1 = L + 1.0 * L). Decreasing the saturation level 100% will set the new saturation level to 0. This process is carried out for every pixel. The saturation is set to 1000 (maximum value) if the new value exceeds 1000).

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also