Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
Contrast Property
See Also 
Leadtools.Twain Namespace > TwainImageEffects Structure : Contrast Property




Gets or sets the contrast value to used when transferring images from the current TWAIN source.

Syntax

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

Return Value

The contrast value to use when transferring images from the current TWAIN source.

The contrast values range from –1000 to 1000.

Example

For an example, refer to ImageEffects.

Remarks

This property internally gets or sets the contrast capability ICAP_CONTRAST. For more information on this capability, refer to http://www.twain.org and click on TWAIN Specification (Version 1.9).

To get or set the contrast value call the ImageEffects property.

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