Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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()
Managed Extensions for C++ 
public: Color ToGdiPlusColor(); 
C++/CLI 
public:
Color ToGdiPlusColor(); 

Return Value

The equavalant .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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also