Leadtools.ImageProcessing.Color Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
BalanceColorCommandFactor Constructor(Double,Double,Double)
See Also 




toRed
Value that represents the percentage of the red color value that should be distributed to the red component
toGreen
Value that represents the percentage of the green color value that should be distributed to the green component
toBlue
Value that represents the percentage of the blue color value that should be distributed to the blue component
Initializes a new BalanceColorCommandFactor class with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal toRed As Double, _
   ByVal toGreen As Double, _
   ByVal toBlue As Double _
)
Visual Basic (Usage)Copy Code
Dim toRed As Double
Dim toGreen As Double
Dim toBlue As Double
 
Dim instance As BalanceColorCommandFactor(toRed, toGreen, toBlue)
C# 
public BalanceColorCommandFactor( 
   double toRed,
   double toGreen,
   double toBlue
)
Managed Extensions for C++ 
public: BalanceColorCommandFactor( 
   double toRed,
   double toGreen,
   double toBlue
)
C++/CLI 
public:
BalanceColorCommandFactor( 
   double toRed,
   double toGreen,
   double toBlue
)

Parameters

toRed
Value that represents the percentage of the red color value that should be distributed to the red component
toGreen
Value that represents the percentage of the green color value that should be distributed to the green component
toBlue
Value that represents the percentage of the blue color value that should be distributed to the blue component

Example

Refer to BalanceColorsCommand 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