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



Gets or sets the brightness value to use when transferring images from the current TWAIN source.

Syntax

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

Return Value

The brightness value to use when transferring images from the current TWAIN source.
The brightness values range from –1000 to 1000.

Example

For an example, refer to TwainSession.ImageEffects.

Remarks

This property internally gets or sets the brightness capability ICAP_BRIGHTNESS. 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 brightness value call the TwainSession.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