LEADTOOLS WIA (Leadtools.Wia assembly)
LEAD Technologies, Inc

Startup Method






The WIA version to be used. Possible values are:

Value

Meaning

WiaVersion.Version1 Use WIA version 1.0.
WiaVersion.Version2 Use WIA version 2.0.
Initializes the WIA session.
Syntax
public void Startup( 
   WiaVersion version
)
'Declaration
 
Public Sub Startup( _
   ByVal version As WiaVersion _
) 
'Usage
 
Dim instance As WiaSession
Dim version As WiaVersion
 
instance.Startup(version)
public void Startup( 
   WiaVersion version
)
 function Leadtools.Wia.WiaSession.Startup( 
   version 
)
public:
void Startup( 
   WiaVersion version
) 

Parameters

version
The WIA version to be used. Possible values are:

Value

Meaning

WiaVersion.Version1 Use WIA version 1.0.
WiaVersion.Version2 Use WIA version 2.0.
Remarks

This method should be called before calling any other method in LEADTOOLS WIA toolkit. Likewise, when the handle to the WIA session is no longer needed, it should be ended by calling Shutdown method. For every call to Startup there must be a call to Shutdown.

Call the IsAvailable method to determine whether a WIA source with the specified version is installed.

Note:

You do not need to call Startup if you are using the high-level AcquireSimple method, since it handles session initialization, session end, and device selection automatically.

For more information, refer to Initializing a WIA Session.

For more information, refer to Freeing the WIA Session.

Example
Refer to WiaSession.IsAvailable.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WiaSession Class
WiaSession Members
IsAvailable Method
Shutdown Method
SelectDevice Method
SelectDeviceDlg Method
Acquire Method
AcquireToFile Method
AcquireSimple Method

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.