VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Twain Namespace / KodakDeviceProfileCollection Class / SetCurrentProfile Methods / SetCurrentProfile(KodakDeviceProfile) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
SetCurrentProfile(KodakDeviceProfile) Method (KodakDeviceProfileCollection)
In This Topic
Changes the device current profile to the specified profile.
Syntax
'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
)

Parameters

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

Return Value

True if current profile is changed; otherwise, false.
Exceptions
ExceptionDescription
Thrown if device is disposed.
Thrown if device is closed.
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