Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
RasterColor Constructor(Int32,Int32,Int32)
See Also 
Leadtools Namespace > RasterColor Structure > RasterColor Constructor : RasterColor Constructor(Int32,Int32,Int32)




red
The red component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
green
The green component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
blue
The blue component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
Initializes a new RasterColor structure with specific values for red, green and blue.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal red As Integer, _
   ByVal green As Integer, _
   ByVal blue As Integer _
)
Visual Basic (Usage)Copy Code
Dim red As Integer
Dim green As Integer
Dim blue As Integer
 
Dim instance As RasterColor(red, green, blue)
C# 
public RasterColor( 
   int red,
   int green,
   int blue
)
Managed Extensions for C++ 
public: RasterColor( 
   int red,
   int green,
   int blue
)
C++/CLI 
public:
RasterColor( 
   int red,
   int green,
   int blue
)

Parameters

red
The red component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
green
The green component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.
blue
The blue component value for the new Color structure. Valid values are MinimumComponent through MaximumComponent.

Remarks

The alpha value will be set to MaximumComponent.

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