Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
RedGrayFactor Property
See Also 
Leadtools.Windows.Media.Effects.Color Namespace > ConvertToColoredGrayCommandBitmapEffect Class : RedGrayFactor Property




Gets or sets an additional weighting factor (percentage) used to modify the red component in the output pixel.

Syntax

Visual Basic (Declaration) 
Public Property RedGrayFactor As Integer
Visual Basic (Usage)Copy Code
Dim instance As ConvertToColoredGrayCommandBitmapEffect
Dim value As Integer
 
instance.RedGrayFactor = value
 
value = instance.RedGrayFactor
C# 
public int RedGrayFactor {get; set;}
Managed Extensions for C++ 
public: __property int get_RedGrayFactor();
public: __property void set_RedGrayFactor( 
   int value
);
C++/CLI 
public:
property int RedGrayFactor {
   int get();
   void set (int value);
}

Return Value

Additional weighting factor (percentage) used to modify the red component in the output pixel. This value can be negative. Possible values are -1000 to 1000.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also