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




Gets or sets a value that represents the percentage or weight given to the red value of each pixel in the image.

Syntax

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

Return Value

Value that represents the percentage or weight given to the red value of each pixel in the image. Possible values are 0 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