Converts a LEADTOOLS Leadtools.RasterColor object to a a Windows Presentation Foundation (WPF) or Silverlight System.Windows.Media.Color object.
color
The source LEADTOOLS Leadtools.RasterColor color.
The WPF/Silverlight System.Windows.Media.Color object.
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.
For an example, refer to RasterColorConverter.