VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / TwainValueContainerBase Class / GetAsPositiveFloat() Method
Syntax Exceptions Requirements SeeAlso
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
    
    
    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: .NET 8, .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also