Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.9.21
|
Leadtools.Twain Namespace > TwainSession Class : Startup2 Method |
public void Startup2( IntPtr owner, string manufacturer, string productFamily, string version, string application, TwainStartupFlags flags, TwainLanguage language, TwainCountry country )
'Declaration
Public Sub Startup2( _ ByVal owner As IntPtr, _ 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 country As TwainCountry _ )
'Usage
Dim instance As TwainSession Dim owner As IntPtr Dim manufacturer As String Dim productFamily As String Dim version As String Dim application As String Dim flags As TwainStartupFlags Dim language As TwainLanguage Dim country As TwainCountry instance.Startup2(owner, manufacturer, productFamily, version, application, flags, language, country)
public: void Startup2( IntPtr owner, String^ manufacturer, String^ productFamily, String^ version, String^ application, TwainStartupFlags flags, TwainLanguage language, TwainCountry country )
Imports Leadtools Imports Leadtools.Twain Public Sub Startup2Example(ByVal parent As IntPtr) Dim session As TwainSession = New TwainSession() Try session.Startup2(parent, "manufacturer", "productFamily", "version", "application", TwainStartupFlags.None, TwainLanguage.LanguageEnglish, TwainCountry.CountryUsa) Catch ex As Exception MessageBox.Show(ex.Message) End Try session.Shutdown() End Sub
using Leadtools; using Leadtools.Twain; public void Startup2Example(IntPtr parent) { TwainSession session = new TwainSession(); try { session.Startup2(parent, "manufacturer", "productFamily", "version", "application", TwainStartupFlags.None, TwainLanguage.LanguageEnglish, TwainCountry.CountryUsa); } catch (Exception ex) { MessageBox.Show(ex.Message); } session.Shutdown(); }