A Property

Class

Color.

Action

Gets the value of the alpha RGB channel of the color.

Syntax

C#
public readonly int A
VB
Public Readonly Property A As Integer

Access

Read only.

Example

To get the value of the alpha RGB channel of the color cyan, type the following:
'VB code
Public Sub Main()
	 Dim myColor As Color(0,255,255,255)
  Dim alphaValue As Integer
  alphaValue = myColor.A()
End Sub