Public Shared Function FromColor( _
ByVal _color_ As Color _
) As RasterColor
The source WPF color.
The corresponding LEADTOOLS Leadtools.RasterColor 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+, and WPF. Use this method to convert a WPF System.Windows.Media.Color object to a LEADTOOLS Leadtools.RasterColor object.
For an example, refer to RasterColorConverter.