LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
G Property
See Also 
Leadtools Namespace > RasterColor Structure : G Property



Gets or sets the green component of this RasterColor structure. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Green component of the color (0 to 255)")>
Public Property G As Byte
Visual Basic (Usage)Copy Code
Dim instance As RasterColor
Dim value As Byte
 
instance.G = value
 
value = instance.G
C# 
[DescriptionAttribute("Green component of the color (0 to 255)")]
public byte G {get; set;}
C++/CLI 
[DescriptionAttribute("Green component of the color (0 to 255)")]
public:
property byte G {
   byte get();
   void set (    byte value);
}

Property Value

The green component of this RasterColor structure.

Example

For an example, refer to RasterColor

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also