Kaliko.ImageLibrary
CMYKtoColor(Single,Single,Single,Single) Method
Cyan value (must be between 0 and 1).
Magenta value (must be between 0 and 1).
Yellow value (must be between 0 and 1).
Black value (must be between 0 and 1).
Converts CMYK to RGB.
Syntax
'Declaration
Public Overloads Shared Function CMYKtoColor( _ ByVal c As System.Single, _ ByVal m As System.Single, _ ByVal y As System.Single, _ ByVal k As System.Single _ ) As System.Drawing.Color
'Usage
Dim c As System.Single Dim m As System.Single Dim y As System.Single Dim k As System.Single Dim value As System.Drawing.Color value = ColorSpaceHelper.CMYKtoColor(c, m, y, k)
public static System.Drawing.Color CMYKtoColor( System.float c, System.float m, System.float y, System.float k )
public function CMYKtoColor( c: System.Single; m: System.Single; y: System.Single; k: System.Single ): System.Drawing.Color; static;
public static function CMYKtoColor( c : System.float, m : System.float, y : System.float, k : System.float ) : System.Drawing.Color;
Parameters
- c
- Cyan value (must be between 0 and 1).
- m
- Magenta value (must be between 0 and 1).
- y
- Yellow value (must be between 0 and 1).
- k
- Black value (must be between 0 and 1).
Requirements
Target Platforms: Windows 7, 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