Remarks
An exception is thrown if the instance of the specified framework
Gets a System.
public static System.Windows.Media.Imaging.BitmapSource GetSmallIcon(string identifier, double dpi);
Public Shared Function GetSmallIcon(ByVal identifier As String, ByVal dpi As Double ) As System.Windows.Media.Imaging.BitmapSource
public static System.Windows.Media.Imaging.BitmapSource GetSmallIcon(string identifier, double dpi, WPF.ResourceProvider.ImageSourceSettings settings);
Public Shared Function GetSmallIcon(ByVal identifier As String, ByVal dpi As Double , ByVal settings As WPF.ResourceProvider.ImageSourceSettings) As System.Windows.Media.Imaging.BitmapSource
public static System.Windows.Media.Imaging.BitmapSource GetSmallIcon(System.IO.Stream stream, float dpi);
Public Shared Function GetSmallIcon(ByVal stream As System.IO.Stream, ByVal dpi As Single) As System.Windows.Media.Imaging.BitmapSource
public static System.Windows.Media.Imaging.BitmapSource GetSmallIcon(string identifier, System.Windows.FrameworkElement frameworkElement);
Public Shared Function GetSmallIcon(ByVal identifier As String, ByVal frameworkElement As System.Windows.FrameworkElement) As System.Windows.Media.Imaging.BitmapSource
public static System.Windows.Media.Imaging.BitmapSource GetSmallIcon(string identifier, System.Windows.FrameworkElement frameworkElement, Windows.Forms.ResourceProvider.ImageSourceSettings settings);
Public Shared Function GetSmallIcon(ByVal identifier As String, ByVal frameworkElement As System.Windows.FrameworkElement, ByVal settings As Windows.Forms.ResourceProvider.ImageSourceSettings) As System.Windows.Media.Imaging.BitmapSource
public static System.Drawing.Bitmap GetSmallIcon(System.IO.Stream stream, System.Windows.FrameworkElement frameworkElement);
Public Shared Function GetSmallIcon(ByVal stream As System.IO.Stream, ByVal frameworkElement As System.Windows.FrameworkElement) As System.Drawing.Bitmap
Parameter | Description |
---|---|
identifier | The identifier of the item that is associated with the requested small icon. |
dpi | Specifies the resolution that is used to create the requested small icon. |
settings | Specifies an Image |
framework |
Specifies the framework element from where the resolution is determined that is used to create the requested small icon. |
stream | Specifies the Scalable Vector Graphics (SVG) stream that is used to create the requested small icon. |
A bitmap of the small icon that is assigned to the item. If no small icon is associated with the item, the method returns null.
An exception is thrown if the instance of the specified framework