VintaSoft Twain .NET SDK 15.3: Documentation for .NET developer
Vintasoft.WiaImageScanning Namespace / WiaDevice Class / GetSupportedScanContrasts(Int32,Int32,Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    GetSupportedScanContrasts(Int32,Int32,Int32) Method (WiaDevice)
    In This Topic
    Returns the scan contrasts, which are supported by this WIA device.
    Syntax
    'Declaration
    
    Public Function GetSupportedScanContrasts( _
    ByRef minValue
    Minimum value of supported scan contrast.
    As Integer, _
    ByRef maxValue
    Maximum value of supported scan contrast.
    As Integer, _
    ByRef stepSize
    The step size in range of supported scan contrast.
    As Integer _
    ) As Boolean
    public bool GetSupportedScanContrasts(
    out int minValue,
    out int maxValue,
    out int stepSize
    )
    public: bool GetSupportedScanContrasts(
    [PARAMFLAG::Out] int minValue,
    [PARAMFLAG::Out] int maxValue,
    [PARAMFLAG::Out] int stepSize
    )
    public:
    bool GetSupportedScanContrasts(
    [Out] int minValue,
    [Out] int maxValue,
    [Out] int stepSize
    )

    Parameters

    minValue
    Minimum value of supported scan contrast.
    maxValue
    Maximum value of supported scan contrast.
    stepSize
    The step size in range of supported scan contrast.

    Return Value

    True - the supported scan contrast values are received successfully; false = the supported scan contrast values are not received.
    Exceptions
    ExceptionDescription
    Thrown if device is not opened.
    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