LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SelectiveColorCommandData Constructor(Int32,Int32,Int32,Int32)
See Also 



cyan
Value that specifies the percentage of cyan in a color. Valid values range from -100 to 100, which is interpreted as -100 to 100.
magenta
Value that specifies the percentage of magenta in a color. Valid values range from -100 to 100, which is interpreted as -100 to 100.
yellow
Value that specifies the percentage of yellow in a color. Valid values range from -100 to 100, which is interpreted as -100 to 100.
black
Value that specifies the percentage of black in a color. Valid values range from -100 to 100, which is interpreted as -100 to 100.
Initializes a new SelectiveColorCommandData class with explicit parameters. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal cyan As Integer, _
   ByVal magenta As Integer, _
   ByVal yellow As Integer, _
   ByVal black As Integer _
)
Visual Basic (Usage)Copy Code
Dim cyan As Integer
Dim magenta As Integer
Dim yellow As Integer
Dim black As Integer
 
Dim instance As New SelectiveColorCommandData(cyan, magenta, yellow, black)
C# 
public SelectiveColorCommandData( 
   int cyan,
   int magenta,
   int yellow,
   int black
)
C++/CLI 
public:
SelectiveColorCommandData( 
   int cyan,
   int magenta,
   int yellow,
   int black
)

Parameters

cyan
Value that specifies the percentage of cyan in a color. Valid values range from -100 to 100, which is interpreted as -100 to 100.
magenta
Value that specifies the percentage of magenta in a color. Valid values range from -100 to 100, which is interpreted as -100 to 100.
yellow
Value that specifies the percentage of yellow in a color. Valid values range from -100 to 100, which is interpreted as -100 to 100.
black
Value that specifies the percentage of black in a color. Valid values range from -100 to 100, which is interpreted as -100 to 100.

Example

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also