Leadtools TWAIN (Leadtools.Twain assembly)
LEAD Technologies, Inc

Contrast Property (TwainImageEffects)






Gets or sets the contrast value to used when transferring images from the current TWAIN source.
Syntax
public float Contrast {get; set;}
'Declaration
 
Public Property Contrast As Single
'Usage
 
Dim instance As TwainImageEffects
Dim value As Single
 
instance.Contrast = value
 
value = instance.Contrast
public float Contrast {get; set;}
 get_Contrast();
set_Contrast(value);
public:
property float Contrast {
   float get();
   void set (    float value);
}

Property Value

The contrast value to use when transferring images from the current TWAIN source.
The contrast values range from -1000 to 1000.
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 2.0).
To get or set the contrast value call the TwainSession.ImageEffects property.
Example
For an example, refer to TwainSession.ImageEffects.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TwainImageEffects Structure
TwainImageEffects Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.