Xceed Words for .NET v4.0 Documentation
Color Constructor


Xceed.Drawing.NET Assembly > Xceed.Drawing Namespace > Color Structure : Color Constructor
The color that will be encapsulated.
Creates a new Color object from a color. 
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color _
)
'Usage
 
Dim color As Color
 
Dim instance As New Color(color)
public Color( 
   Color color
)

Parameters

color
The color that will be encapsulated.
Remarks

In .NET5+, this will create a SKColor.

In .NET Framework, this will create a System.Drawing.Color.

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Color Structure
Color Members