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 : IsAvailable Method |
Imports Leadtools Imports Leadtools.Twain Public Sub IsAvailableExample(ByVal parent As IntPtr) Dim twainAvailable As Boolean = TwainSession.IsAvailable(parent) If twainAvailable Then MessageBox.Show("Twain is installed") Else MessageBox.Show("Twain is not installed") End If End Sub
using Leadtools; using Leadtools.Twain; public void IsAvailableExample(IntPtr parent) { bool twainAvailable = TwainSession.IsAvailable(parent); if (twainAvailable) MessageBox.Show("Twain is installed"); else MessageBox.Show("Twain is not installed"); }