DrawingExtensionsToColor Method

CVB.Net Documentation
Convert the given Color to a RgbColor structure.

Namespace:  Stemmer.Cvb.Extensions
Assembly:  Stemmer.Cvb.Extensions (in Stemmer.Cvb.Extensions.dll) Version: 14.0.0.0
Syntax

public static RgbColor ToColor(
	this Color clr
)

Parameters

clr
Type: System.DrawingColor
Color to be converted.

Return Value

Type: RgbColor
Converted color.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Color. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference