Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
RasterColor Structure
See Also  Members  
Leadtools Namespace : RasterColor Structure




Describes a color consisting of relative intensities of alpha, red, green, and blue.

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Structure RasterColor 
   Inherits ValueType
Visual Basic (Usage)Copy Code
Dim instance As RasterColor
C# 
[SerializableAttribute()]
public struct RasterColor : ValueType 
Managed Extensions for C++ 
[SerializableAttribute()]
public __value struct RasterColor : public ValueType 
C++/CLI 
[SerializableAttribute()]
public value class RasterColor : public ValueType 

Example

Converts a .NET color to a RasterColor and back.

Remarks

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

Inheritance Hierarchy

System.Object
   System.ValueType
      Leadtools.RasterColor

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