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





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

Syntax

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

<object GreenFactor =int >

Dependencies Property Information 

Identifier field

GreenFactorProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object GreenFactor =int >

Dependencies Property Information 

Identifier field

GreenFactorProperty

Metadata properties set to true

None

Return Value

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