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





Gets or sets an integer that represents the gamma value.

Syntax

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

<object Gamma =int >

Dependencies Property Information 

Identifier field

GammaProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Gamma =int >

Dependencies Property Information 

Identifier field

GammaProperty

Metadata properties set to true

None

Return Value

Integer that represents the Gamma value. It can be any number greater than 0.
Because this is an unsigned integer (Integer with values greater than 0), it is 100 times the actual gamma value. For example, use 235 to set a gamma value of 2.35.

Example

For XAML example, refer to GammaCorrectCommandBitmapEffect.

For C#/VB examples, refer to GammaCorrectCommandBitmapEffect.

Requirements

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

See Also