LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Contrast Property
See Also 



Gets or sets the amount of contrast change. Supported in Silverlight, Windows Phone 7

Syntax

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

Property Value

Value that refers to the histogram stretching amount. The contrast ranges from -1000 to +1000. This value is divided internally by 1000. A positive value increases the contrast whereas a negative value decreases the contrast.

Example

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also