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

Converts CMY color from a set of Cyan, Magenta and Yellow color components to RGB color into a set of red, green, and blue components.

C#
public ColorCMYtoRGB(
    int Cyan, 
    int Magenta, 
    int Yellow, 
    ref int RedReturn, 
    ref int GreenReturn, 
    ref int BlueReturn
);
Visual Basic
Public Sub ColorCMYtoRGB(
    ByVal Cyan As Integer, 
    ByVal Magenta As Integer, 
    ByVal Yellow 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].  
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.