Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
Contrast Property
See Also 
Leadtools.Windows.Media.Effects.Color Namespace > HistogramContrastCommandBitmapEffect Class : Contrast Property





Gets or sets a value that represents the amount of contrast change.

Syntax

Visual Basic (Declaration) 
Public Property Contrast As Integer
Visual Basic (Usage)Copy Code
Dim instance As HistogramContrastCommandBitmapEffect
Dim value As Integer
 
instance.Contrast = value
 
value = instance.Contrast
C# 
public int Contrast {get; set;}
Managed Extensions for C++ 
public: __property int get_Contrast();
public: __property void set_Contrast( 
   int value
);
C++/CLI 
public:
property int Contrast {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Contrast =int >

Dependency Property Information 

Identifier field

ContrastProperty

Metadata properties set to true

None

Return Value

Value that represents the amount of contrast change. Valid values are -1000 to +1000.

Example

For XAML example, refer to HistogramContrastCommandBitmapEffect.

For C#/VB examples, refer to HistogramContrastCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003

See Also