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





Gets or sets a value that represents the amplitude of the green color.

Syntax

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

<object GreenAmplitude =int >

Dependencies Property Information 

Identifier field

GreenAmplitudeProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object GreenAmplitude =int >

Dependencies Property Information 

Identifier field

GreenAmplitudeProperty

Metadata properties set to true

None

Return Value

Value that represents the amplitude of the green color when the addition operation is used (FunctionalLightCommandBitmapEffectsFlags.Addition flag is set). This value is ignored when grayscale images are used or when the multiplication operation is used (FunctionalLightCommandBitmapEffectsFlags.Multiply flag is set). This value is also ignored if Flags property contains the FunctionalLightCommandBitmapEffectsFlags.LinearQuadratic flag. Possible values for GreenAmplitude property are from 0–100.

Example

For XAML example, refer to Angle.

For C#/VB examples, refer to Angle.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family

See Also