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




Gets or sets the fraction of contrast enhancement applied to the image.

Syntax

Visual Basic (Declaration) 
Public Property Contrast As Integer
Visual Basic (Usage)Copy Code
Dim instance As MultiscaleEnhancementCommandBitmapEffect
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);
}

Return Value

Fraction of contrast enhancement applied to the image. Valid values range from 0 – 10000, which are interpreted as 0 - 100. This value is internally divided by 10000. Greater values will produce stronger contrast.

Example

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