Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ToGdiPlusColor Method
See Also 
Leadtools Namespace > RasterColor Structure : ToGdiPlusColor Method



Converts this RasterColor to a .NET Color structure

Syntax

Visual Basic (Declaration)  
Public Function ToGdiPlusColor() As Color
Visual Basic (Usage) Copy Code
Dim instance As RasterColor
Dim value As Color
 
value = instance.ToGdiPlusColor()
C#  
public Color ToGdiPlusColor()
C++/CLI  
public:
Color ToGdiPlusColor(); 

Return Value

The equivalent .NET Color structure

Example

For an example, refer to RasterColor

Remarks

You can use FromGdiPlusColor to convert a System.Drawing.Color object to RasterColor and ToGdiPlusColor to convert a RasterColor object to System.Drawing.Color.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also