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 RasterColor
public:
static 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+, and WPF. Use this method to convert a System.Drawing (GDI+) System.Drawing.Color object to a LEADTOOLS Leadtools.RasterColor object.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document