HSBColor.FromHSB Method
Creates a new color based on the specified hue, saturation, and brightness values.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Shared Function FromHSB ( _
hsbColor As HSBColor _
) As Color
'Usage
Dim hsbColor As HSBColor
Dim returnValue As Color
returnValue = HSBColor.FromHSB(hsbColor)
public static Color FromHSB(
HSBColor hsbColor
)
public:
static Color FromHSB(
HSBColor hsbColor
)
static member FromHSB :
hsbColor:HSBColor -> Color
public static function FromHSB(
hsbColor : HSBColor
) : Color
Parameters
- hsbColor
Type: Microsoft.SqlServer.Management.Controls.HSBColor
An HSBColor used to initialize the value of the color.
Return Value
Type: System.Drawing.Color
The value that assigns to the hsbColor.