ImageGear for Silverlight
IsAvailable Property
See Also  Send Feedback
ImageGear20.TWAIN Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : IsAvailable Property




Glossary Item Box

Gets a value indicating whether the TWAIN technology of ImageGear for Silverlight is available to the Silverlight application.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Property Value

Value is true if the TWAIN technology of ImageGear for Silverlight is available to the application; otherwise, false.

Remarks

You should always check this property before using the ImGearTWAIN class. Attempting to use the ImGearTWAIN class when the TWAIN technology of ImageGear for Silverlight is not available to the application will result in an exception.

The TWAIN technology of ImageGear for Silverlight relies on the Automation feature in Silverlight, therefore the value of this property will always be false if the Automation feature in Silverlight is not available. Use the System.Runtime.InteropServices.Automation.AutomationFactory.IsAvailable property to determine if the Automation feature in Silverlight is available.

The TWAIN technology of ImageGear for Silverlight relies on one or more COM components being installed on the system that the application is running on. If all of these components are not installed on the system then the value of this property will be false; otherwise, the value will be true.

See Also

©2013. Accusoft Corporation. All Rights Reserved.