VintaSoft Twain .NET SDK 15.3: Руководство для .NET разработчика
Vintasoft.WinTwain Namespace / KodakDeviceProfileCollection Class / SetCurrentProfile Methods / SetCurrentProfile(KodakDeviceProfile) Method
Синтаксис Exceptions Требования Смотрите также
В этом разделе
    SetCurrentProfile(KodakDeviceProfile) Метод (KodakDeviceProfileCollection)
    В этом разделе
    Changes the device current profile to the specified profile.
    Синтаксис
    'Declaration
    
    Public Overloads Function SetCurrentProfile( _
    ByVal profile
    The profile, which must be set as device current profile.
    As KodakDeviceProfile _
    ) As Boolean
    public bool SetCurrentProfile(
    KodakDeviceProfile profile
    )
    public: bool SetCurrentProfile(
    KodakDeviceProfile* profile
    )
    public:
    bool SetCurrentProfile(
    KodakDeviceProfile^ profile
    )

    Parameters

    profile
    The profile, which must be set as device current profile.

    Return Value

    True if current profile is changed; otherwise, false.
    Исключения
    ИсключениеОписание
    Thrown if device is disposed.
    Thrown if device is closed.
    Требования

    Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также