VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain.Web.Services Namespace / VintasoftTwainWebService Class / ConvertImageToBase64 Method
The image, which is acquired from TWAIN device.




In This Topic
    ConvertImageToBase64 Method
    In This Topic
    Converts the acquired image into a Base64 string.
    Syntax
    'Declaration
     
    Protected Overridable Function ConvertImageToBase64( _
       ByVal acquiredImage As AcquiredImage _
    ) As String
    'Usage
     
    Dim instance As VintasoftTwainWebService
    Dim acquiredImage As AcquiredImage
    Dim value As String
     
    value = instance.ConvertImageToBase64(acquiredImage)
    protected virtual string ConvertImageToBase64( 
       AcquiredImage acquiredImage
    )
    protected: virtual string* ConvertImageToBase64( 
       AcquiredImage* acquiredImage
    ) 
    protected:
    virtual String^ ConvertImageToBase64( 
       AcquiredImage^ acquiredImage
    ) 

    Parameters

    acquiredImage
    The image, which is acquired from TWAIN device.

    Return Value

    The acquired image as a Base64 string.
    Remarks
    Method will scale the source image if size of output (Base64) image is not equal to the size of source image.
    Requirements

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

    See Also