Leadtools.ImageProcessing.Color Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.

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 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: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also