Leadtools.Windows.Media Namespace > RasterColorConverter Class : ToColor Method |
public static Color ToColor( RasterColor color )
'Declaration Public Shared Function ToColor( _ ByVal color As RasterColor _ ) As Color
'Usage Dim color As RasterColor Dim value As Color value = RasterColorConverter.ToColor(color)
public static Color ToColor( RasterColor color )
function Leadtools.Windows.Media.RasterColorConverter.ToColor( color )
public: static Color ToColor( RasterColor 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 LEADTOOLS Leadtools.RasterColor object to a WPF/Silverlight System.Windows.Media.Color object.
Target Platforms: Windows 7, 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