'Declaration Public Overloads Shared Function CreateBitmapSourceFromException( _
ByVal exceptionThe exception.As System.Exception, _
ByVal fontFamilyThe font family.As System.Int32, _
ByVal fontSizeThe font size.As System.Int32, _
ByVal widthThe bitmap width.As System.Windows.Media.FontFamily, _
ByVal heightThe bitmap height.As Double _
) As System.Windows.Media.Imaging.BitmapSource
public static System.Windows.Media.Imaging.BitmapSource CreateBitmapSourceFromException(
System.Exception exception,
System.Int32 fontFamily,
System.Int32 fontSize,
System.Windows.Media.FontFamily width,
double height
)
public: static System.Windows.Media.Imaging.BitmapSource CreateBitmapSourceFromException(
System.Exception* exception,
System.Int32 fontFamily,
System.Int32 fontSize,
System.Windows.Media.FontFamily* width,
double height
)
public:
static System.Windows.Media.Imaging.BitmapSource CreateBitmapSourceFromException(
System.Exception^ exception,
System.Int32 fontFamily,
System.Int32 fontSize,
System.Windows.Media.FontFamily^ width,
double height
)
Parameters
- exception
- The exception.
- fontFamily
- The font family.
- fontSize
- The font size.
- width
- The bitmap width.
- height
- The bitmap height.
Return Value
The System.Windows.Media.Imaging.BitmapSource object.