GetRValue Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Extracts a red value from a specified color.
Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.Graphics (in Microsoft.SPOT.Graphics.dll)
Syntax
'Declaration
Public Shared Function GetRValue ( _
color As Color _
) As Byte
public static byte GetRValue(
Color color
)
public:
static unsigned char GetRValue(
Color color
)
static member GetRValue :
color:Color -> byte
public static function GetRValue(
color : Color
) : byte
Parameters
- color
Type: Microsoft.SPOT.Presentation.Media. . :: . .Color
The color from which the red value is to be extracted.
Return Value
Type: System. . :: . .Byte
The red value extracted from the specified color.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.