Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
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;}
Managed Extensions for C++ 
public: __property int get_GreenAmplitude();
public: __property void set_GreenAmplitude( 
   int value
);
C++/CLI 
public:
property int GreenAmplitude {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object GreenAmplitude =int >

Dependency 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, and Windows Server 2003

See Also