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




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

    Return Value

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

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

    See Also