Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
GreenGrayFactor Property
See Also 
Leadtools.Windows.Media.Effects.Color Namespace > ConvertToColoredGrayCommandBitmapEffect Class : GreenGrayFactor Property





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

Syntax

Visual Basic (Declaration) 
Public Property GreenGrayFactor As Integer
Visual Basic (Usage)Copy Code
Dim instance As ConvertToColoredGrayCommandBitmapEffect
Dim value As Integer
 
instance.GreenGrayFactor = value
 
value = instance.GreenGrayFactor
C# 
public int GreenGrayFactor {get; set;}
C++/CLI 
public:
property int GreenGrayFactor {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object GreenGrayFactor =int >

Dependencies Property Information 

Identifier field

GreenGrayFactorProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object GreenGrayFactor =int >

Dependencies Property Information 

Identifier field

GreenGrayFactorProperty

Metadata properties set to true

None

Return Value

Additional weighting factor (percentage) used to modify the green 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