VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / AcquiredImage Class / ChangeContrast Method
Contrast value. Possible values: from -100 to 0 - decrease contrast, 0 - no effect, from 0 to 100 - increase contrast.




In This Topic
    ChangeContrast Method (AcquiredImage)
    In This Topic
    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