VintaSoft Twain .NET SDK v10.2
GetAsBool Method (TwainValueContainerBase)




Vintasoft.WpfTwain Namespace > TwainValueContainerBase Class : GetAsBool Method
Returns current value of TWAIN value as boolean value.
Syntax
'Declaration
 
Public Function GetAsBool() As Boolean
'Usage
 
Dim instance As TwainValueContainerBase
Dim value As Boolean
 
value = instance.GetAsBool()
public bool GetAsBool()
public: bool GetAsBool(); 
public:
bool GetAsBool(); 

Return Value

Current value of TWAIN value as boolean value.
Exceptions
ExceptionDescription
Thrown if current value of TWAIN value cannot be converted to bool.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

TwainValueContainerBase Class
TwainValueContainerBase Members