- owner
- The parent window, this may not be NULL.
- manufacturer
- Optional name of the application's manufacturer.
- productFamily
- Optional product family name.
- version
- Version information.
- application
- Optional application name.
- flags
- Flag determines the Startup method behavior
- language
- Specify which language to be shown in UI
- county
- Specify which country to be shown in UI
Visual Basic (Declaration) | |
---|---|
Public Sub Startup2( _ ByVal owner As IWin32Window, _ ByVal manufacturer As String, _ ByVal productFamily As String, _ ByVal version As String, _ ByVal application As String, _ ByVal flags As TwainStartupFlags, _ ByVal language As TwainLanguage, _ ByVal county As TwainCountry _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Startup2( IWin32Window owner, string manufacturer, string productFamily, string version, string application, TwainStartupFlags flags, TwainLanguage language, TwainCountry county ) |
C++/CLI | |
---|---|
public: void Startup2( IWin32Window owner, String^ manufacturer, String^ productFamily, String^ version, String^ application, TwainStartupFlags flags, TwainLanguage language, TwainCountry county ) |
Parameters
- owner
- The parent window, this may not be NULL.
- manufacturer
- Optional name of the application's manufacturer.
- productFamily
- Optional product family name.
- version
- Version information.
- application
- Optional application name.
- flags
- Flag determines the Startup method behavior
- language
- Specify which language to be shown in UI
- county
- Specify which country to be shown in UI
Visual Basic | Copy Code |
---|---|
Public Sub StartupExample2(ByVal parent As IWin32Window) |
C# | Copy Code |
---|---|
public void Startup2Example(IWin32Window parent) |
Please note that a TWAIN session is a communication session between Leadtools TWAIN and your TWAIN sources.
The internal TWAIN session handle that is created provides the user access to this TWAIN session. This
method must be called before calling any other methods that require a TWAIN session.
When the TWAIN session is no longer needed, it should be end by calling the Shutdown method. For every call to the Startup2 method there must be a call to the Shutdown method. Use this method if you need to specify the language and country in the UI.
For more information, refer to Initializing a TWAIN Source.
For more information, refer to Freeing the TWAIN Session.
When the TWAIN session is no longer needed, it should be end by calling the Shutdown method. For every call to the Startup2 method there must be a call to the Shutdown method. Use this method if you need to specify the language and country in the UI.
For more information, refer to Initializing a TWAIN Source.
For more information, refer to Freeing the TWAIN Session.
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