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

    Parameters

    profileName
    The name of the profile, which is stored in this collection and must 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 or opened.
    Требования

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

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