Xceed Words for .NET v4.0 Documentation
GetSaturation Method


Xceed.Drawing.NET Assembly > Xceed.Drawing Namespace > Color Structure : GetSaturation Method
Returns the Color's saturation.
Syntax
'Declaration
 
Public Function GetSaturation() As Single
'Usage
 
Dim instance As Color
Dim value As Single
 
value = instance.GetSaturation()
public float GetSaturation()
Remarks
The saturation value is taken from its hue-saturation-brightness (HSB) values. It ranges from 0.0 to 1.0, where 0.0 is grayscale & 1.0 is the most saturated.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Color Structure
Color Members