ColorExtensionsToWindowsColor(PColor32) Method
Namespace: KGySoft.Drawing.WinUIAssembly: KGySoft.Drawing.WinUI (in KGySoft.Drawing.WinUI.dll) Version: 9.0.0
public static Color ToWindowsColor(
this PColor32 color
)
<ExtensionAttribute>
Public Shared Function ToWindowsColor (
color As PColor32
) As Color
public:
[ExtensionAttribute]
static Color ToWindowsColor(
PColor32 color
)
[<ExtensionAttribute>]
static member ToWindowsColor :
color : PColor32 -> Color
- color PColor32
- The source color.
ColorThe result of the conversion.In Visual Basic and C#, you can call this method as an instance method on any object of type
PColor32. 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).