Kaliko.ImageLibrary
CMYKtoColor(Double,Double,Double,Double) 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.Double, _ ByVal m As System.Double, _ ByVal y As System.Double, _ ByVal k As System.Double _ ) As System.Drawing.Color
'Usage
Dim c As System.Double Dim m As System.Double Dim y As System.Double Dim k As System.Double Dim value As System.Drawing.Color value = ColorSpaceHelper.CMYKtoColor(c, m, y, k)
public static System.Drawing.Color CMYKtoColor( System.double c, System.double m, System.double y, System.double k )
public function CMYKtoColor( c: System.Double; m: System.Double; y: System.Double; k: System.Double ): System.Drawing.Color; static;
public static function CMYKtoColor( c : System.double, m : System.double, y : System.double, k : System.double ) : 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