This documentation is archived and is not being maintained.

Color.G Property

Gets the green component value of this Color structure.

[Visual Basic]
Public ReadOnly Property G As Byte
[C#]
public byte G {get;}
[C++]
public: __property unsigned char get_G();
[JScript]
public function get G() : Byte;

Property Value

The green component value of this Color structure.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Color Structure | Color Members | System.Drawing Namespace

Show: