VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.WinTwain Namespace / AcquiredImage Class / ChangeBrightness(Int32) Method
Syntax Exceptions Example Requirements SeeAlso
In This Topic
    ChangeBrightness(Int32) Method (AcquiredImage)
    In This Topic
    Changes the brightness of the image.
    Syntax
    'Declaration
    
    Public Sub ChangeBrightness( _
    ByVal brightness
    Brightness value. Possible values: from -100 to 0 - decrease brightness, 0 - no effect, from 0 to 100 - increase brightness.
    As Integer _
    )
    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: AcquiredImage.

    Requirements

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

    See Also