B Property

Class

Color.

Action

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

Syntax

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

Access

Read only.

Example

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