VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain Namespace / TwainValueContainerBase Class / GetAsFloat Method




In This Topic
    GetAsFloat Method (TwainValueContainerBase)
    In This Topic
    Returns current value of TWAIN value as float value.
    Syntax
    'Declaration
     
    Public Function GetAsFloat() As Single
    'Usage
     
    Dim instance As TwainValueContainerBase
    Dim value As Single
     
    value = instance.GetAsFloat()
    public float GetAsFloat()
    public: float GetAsFloat(); 
    public:
    float GetAsFloat(); 

    Return Value

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

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

    See Also