Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
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;}
C++/CLI 
public:
property int RedGrayFactor {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object RedGrayFactor =int >

Dependencies Property Information 

Identifier field

RedGrayFactorProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object RedGrayFactor =int >

Dependencies 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, Windows Server 2008 family

See Also