Leadtools.Twain Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
IsTransferModeAvailable Method
See Also 
Leadtools.Twain Namespace > TwainSession Class : IsTransferModeAvailable Method



mode
Specifies transfer mode to be checked
mode
Specifies transfer mode to be checked
Check if the specific transfer mode is supported in the current Twain source.

Syntax

Visual Basic (Declaration) 
Public Function IsTransferModeAvailable( _
   ByVal mode As TwainTransferMode _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As TwainSession
Dim mode As TwainTransferMode
Dim value As Boolean
 
value = instance.IsTransferModeAvailable(mode)
C# 
public bool IsTransferModeAvailable( 
   TwainTransferMode mode
)
C++/CLI 
public:
bool IsTransferModeAvailable( 
   TwainTransferMode mode
) 

Parameters

mode
Specifies transfer mode to be checked

Return Value

true if the specific transfer mode is supported, false if the Specific transfer mode is not supported.

Example

For an example, refer to TwainSession.TransferOptions.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also