VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / AcquiredImage Class / GetAsBitmapSource Method




In This Topic
    GetAsBitmapSource Method
    In This Topic
    Returns this image as System.Windows.Media.Imaging.BitmapSource object.
    Syntax
    'Declaration
     
    Public Function GetAsBitmapSource() As BitmapSource
    'Usage
     
    Dim instance As AcquiredImage
    Dim value As BitmapSource
     
    value = instance.GetAsBitmapSource()
    public BitmapSource GetAsBitmapSource()
    public: BitmapSource* GetAsBitmapSource(); 
    public:
    BitmapSource^ GetAsBitmapSource(); 

    Return Value

    Exceptions
    ExceptionDescription
    Thrown if error occurs at the image processing.
    Requirements

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

    See Also