Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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);
}

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

Refer to Angle.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also