VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / AcquiredImage Class / ChangeContrast(Int32) Method
Syntax Exceptions Example Requirements SeeAlso
In This Topic
ChangeContrast(Int32) Method (AcquiredImage)
In This Topic
Changes the contrast of the image.
Syntax
'Declaration

Public Sub ChangeContrast( _
ByVal contrast
Contrast value. Possible values: from -100 to 0 - decrease contrast, 0 - no effect, from 0 to 100 - increase contrast.
As Integer _
)
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: AcquiredImage.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also