Converts a System.Drawing (GDI+) System.Drawing.Color object to a LEADTOOLS Leadtools.RasterColor object.
public static RasterColor FromColor(
Color color
)
Public Shared Function FromColor( _
ByVal color As Color _
) As Leadtools.RasterColor
public:
static Leadtools.RasterColor FromColor(
Color color
)
color
The source System.Drawing (GDI+) 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+, WPF and Silverlight. Use this method to convert a System.Drawing (GDI+) System.Drawing.Color object to a LEADTOOLS Leadtools.RasterColor object.
For an example, refer to RasterColorConverter.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET