VintaSoftTwain Control v6.0
VintaSoftTwain Object / AcquiredImages_ChangeContrast Method
Zero-based index of image in acquired image collection. Valid values are from 0 to (AcquiredImages_Count-1).
Contrast value. Possible values: from -100 to 0 - decrease contrast, 0 - no effect, from 0 to 100 - increase contrast.
In This Topic
    AcquiredImages_ChangeContrast Method
    In This Topic
    Description
    Changes the contrast of the image.
    Syntax
    Visual Basic
    Public Function AcquiredImages_ChangeContrast( _
       ByVal index As Long, _
       ByVal contrast As Long _
    ) As Boolean
    Parameters
    index
    Zero-based index of image in acquired image collection. Valid values are from 0 to (AcquiredImages_Count-1).
    contrast
    Contrast value. Possible values: from -100 to 0 - decrease contrast, 0 - no effect, from 0 to 100 - increase contrast.
    Return Type
    TRUE (1) if image is processed successfully, FALSE (0) otherwise.
    Remarks
    Information about error that occurs during method execution can be get using the Error and ErrorString properties.
    Example
    Please see example here.
    See Also