Version

ColorInfo Constructor(Color)

Creates a new ColorInfo with the specified Color.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color _
)
public ColorInfo( 
   Color color
)

Parameters

color
The color which should be displayed when the ColorInfo is used.
Exceptions
ExceptionDescription
System.ArgumentExceptioncolor is the empty Color or has a non-opaque alpha channel.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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