VintaSoft Twain .NET SDK v10.2
ChangeBrightness Method (AcquiredImage)




Vintasoft.Twain Namespace > AcquiredImage Class : ChangeBrightness Method
Brightness value. Possible values: from -100 to 0 - decrease brightness, 0 - no effect, from 0 to 100 - increase brightness.
Changes the brightness of the image.
Syntax
'Declaration
 
Public Sub ChangeBrightness( _
   ByVal brightness As Integer _
) 
'Usage
 
Dim instance As AcquiredImage
Dim brightness As Integer
 
instance.ChangeBrightness(brightness)
public void ChangeBrightness( 
   int brightness
)
public: void ChangeBrightness( 
   int brightness
) 
public:
void ChangeBrightness( 
   int brightness
) 

Parameters

brightness
Brightness value. Possible values: from -100 to 0 - decrease brightness, 0 - no effect, from 0 to 100 - increase brightness.
Exceptions
ExceptionDescription
Thrown if error occurs at the image processing.
Example
Please see example here.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

AcquiredImage Class
AcquiredImage Members