VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / AcquiredImage Class / GetAsBitmapSource() Method
Syntax Exceptions Requirements SeeAlso
In This Topic
GetAsBitmapSource() Method (AcquiredImage)
In This Topic
Returns this image as System.Windows.Media.Imaging.BitmapSource object.
Syntax
'Declaration

Public Function GetAsBitmapSource() As System.Windows.Media.Imaging.BitmapSource

public System.Windows.Media.Imaging.BitmapSource GetAsBitmapSource()

Return Value

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

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also