Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

Color.FromCmyk32 Method (Int32, Int32, Int32, Int32)

Returns CmykColor class instance constructed from all 4 color channels (cyan, magenta, yellow, and black).

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Shared Function FromCmyk32 ( _
	cyan As Integer, _
	magenta As Integer, _
	yellow As Integer, _
	black As Integer _
) As CmykColor
C#
public static CmykColor FromCmyk32(
	int cyan,
	int magenta,
	int yellow,
	int black
)

Parameters

cyan

Type: System.Int32

Cyan channel value.
magenta

Type: System.Int32

Magenta channel value.
yellow

Type: System.Int32

Yellow channel value.
black

Type: System.Int32

Black channel value.

Return Value

CmykColor class instance constructed from given channels.

Remarks

You can also use non-extended version of this method, i.e. FromCmyk(Byte, Byte, Byte, Byte). If you need also supply alpha channel, you can use FromAcmyk32(Int32, Int32, Int32, Int32, Int32) method.

See Also

Reference