Leadtools.Windows.Media Namespace > RasterColorConverter Class : FromColor Method |
public static RasterColor FromColor( Color color )
'Declaration Public Shared Function FromColor( _ ByVal color As Color _ ) As RasterColor
'Usage Dim color As Color Dim value As RasterColor value = RasterColorConverter.FromColor(color)
public: static RasterColor FromColor( Color color )
The LEADTOOLS Leadtools.RasterColor class provides a platform independent representation of an ARGB color that can be used in any platform supported by LEADTOOLS such as GDI, GDI+, WPF and Silverlight. Use this method to convert a WPF/Silverlight System.Windows.Media.Color object to a LEADTOOLS Leadtools.RasterColor object.