- color
- The source LEADTOOLS Leadtools.RasterColor color.
Visual Basic (Declaration) | |
---|---|
Public Shared Function ToColor( _ ByVal color As RasterColor _ ) As Color |
Visual Basic (Usage) | Copy Code |
---|---|
Dim color As RasterColor Dim value As Color value = RasterColorConverter.ToColor(color) |
C# | |
---|---|
public static Color ToColor( RasterColor color ) |
C++/CLI | |
---|---|
public: static Color ToColor( RasterColor color ) |
Parameters
- color
- The source LEADTOOLS Leadtools.RasterColor color.
Return Value
The System.Drawing (GDI+) System.Drawing.Color object.For an example, refer to RasterColorConverter.
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 System.Drawing (GDI+) System.Drawing.Color object.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)