Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
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);
}
XAML Attributes Usage 

<object RedGrayFactor =int >

Dependency Property Information 

Identifier field

RedGrayFactorProperty

Metadata properties set to true

None

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

For XAML example, refer to ConvertToColoredGrayCommandBitmapEffect.

For C#/VB examples, refer to ConvertToColoredGrayCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also