LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
R Property
See Also 
Leadtools Namespace > RasterColor Structure : R Property



Gets or sets the red component of this RasterColor structure. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Red component of the color (0 to 255)")>
Public Property R As Byte
Visual Basic (Usage)Copy Code
Dim instance As RasterColor
Dim value As Byte
 
instance.R = value
 
value = instance.R
C# 
[DescriptionAttribute("Red component of the color (0 to 255)")]
public byte R {get; set;}
C++/CLI 
[DescriptionAttribute("Red component of the color (0 to 255)")]
public:
property byte R {
   byte get();
   void set (    byte value);
}

Property Value

The red component of this RasterColor structure.

Example

For an example, refer to RasterColor

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also