VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Wpf Namespace / VintasoftImageConverter Class / CreateBitmapSourceFromException Methods / CreateBitmapSourceFromException(Exception,Int32,Int32) Method
Syntax Requirements SeeAlso
In This Topic
CreateBitmapSourceFromException(Exception,Int32,Int32) Method (VintasoftImageConverter)
In This Topic
Creates the System.Windows.Media.Imaging.BitmapSource object with error message from exception.
Syntax
'Declaration

Public Overloads Shared Function CreateBitmapSourceFromException( _
ByVal exception
The exception.
As System.Exception, _
ByVal width
The bitmap width.
As System.Int32, _
ByVal height
The bitmap height.
As System.Int32 _
) As System.Windows.Media.Imaging.BitmapSource
public static System.Windows.Media.Imaging.BitmapSource CreateBitmapSourceFromException(
System.Exception exception,
System.Int32 width,
System.Int32 height
)

Parameters

exception
The exception.
width
The bitmap width.
height
The bitmap height.

Return Value

The System.Windows.Media.Imaging.BitmapSource object.
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