Visual Basic (Declaration) | |
---|---|
Public Shared Function FromArgb( _ ByVal a As System.Byte, _ ByVal r As System.Byte, _ ByVal g As System.Byte, _ ByVal b As System.Byte _ ) As ColorEx |
Parameters
- a
- The alpha component. Valid values are 0 through 255.
- r
- The red component. Valid values are 0 through 255.
- g
- The green component. Valid values are 0 through 255.
- b
- The blue component. Valid values are 0 through 255.
Return Value
The ColorEx that this method creates.Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2