You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Color Object Creation & Color Space Conversion > ColorCMYKtoRGB Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.ColorCMYKtoRGB Method

Converts CMYK color from a set of Cyan, Magenta, Yellow and Black (Key) color components to RGB color into a set of red, green, and blue components.

C#
public ColorCMYKtoRGB(
    int Cyan, 
    int Magenta, 
    int Yellow, 
    int Black, 
    ref int RedReturn, 
    ref int GreenReturn, 
    ref int BlueReturn
);
Visual Basic
Public Sub ColorCMYKtoRGB(
    ByVal Cyan As Integer, 
    ByVal Magenta As Integer, 
    ByVal Yellow As Integer, 
    ByVal Black As Integer, 
    ByRef RedReturn As Integer, 
    ByRef GreenReturn As Integer, 
    ByRef BlueReturn As Integer
)
Parameters
Parameters 
Description 
Cyan 
Input Cyan component value [0 - 255].  
Magenta 
Input Magenta component value [0 - 255].  
Yellow 
Input Yellow component value [0 - 255].  
Black 
Input Black component (Key) value [0 - 255].  
RedReturn 
Output parameter. Red component value [0 - 255].  
GreenReturn 
Output parameter. Green component value [0 - 255].  
BlueReturn 
Output parameter. Blue component value [0 - 255]. 
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.