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




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

Parameters

contrast
Contrast value. Possible values: from -100 to 0 - decrease contrast, 0 - no effect, from 0 to 100 - increase contrast.
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