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




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

    Return Value

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

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

    See Also