Gets a System.Windows.Media.Imaging.BitmapSource of the large icon that is associated with an item and specified by an identifier or Scalable Vector Graphics (SVG) stream parameter. The identifier can be the string conversion of an enumeration that is associated with an item (such as RibbonFormattingTab.RibbonItem.TXITEM_Paste). The size of the returned large icon depends on the resolution that is specified by the dpi parameter or a specific framework element. The source of the large image is based on a grid of 32x32 Pixel and a resolution of 96 dpi.

GetLargeIcon(String, Double)

public static System.Windows.Media.Imaging.BitmapSource GetLargeIcon(string identifier, double dpi);
Public Shared Function GetLargeIcon(ByVal identifier As String, ByVal dpi As Double ) As System.Windows.Media.Imaging.BitmapSource

GetLargeIcon(String, Double, WPF.ResourceProvider.ImageSourceSettings)

public static System.Windows.Media.Imaging.BitmapSource GetLargeIcon(string identifier, double dpi, WPF.ResourceProvider.ImageSourceSettings settings);
Public Shared Function GetLargeIcon(ByVal identifier As String, ByVal dpi As Double , ByVal settings As WPF.ResourceProvider.ImageSourceSettings) As System.Windows.Media.Imaging.BitmapSource

GetLargeIcon(System.IO.Stream, Float)

public static System.Windows.Media.Imaging.BitmapSource GetLargeIcon(System.IO.Stream stream, float dpi);
Public Shared Function GetLargeIcon(ByVal stream As System.IO.Stream, ByVal dpi As Single) As System.Windows.Media.Imaging.BitmapSource

GetLargeIcon(String, System.Windows.FrameworkElement)

public static System.Windows.Media.Imaging.BitmapSource GetLargeIcon(string identifier, System.Windows.FrameworkElement frameworkElement);
Public Shared Function GetLargeIcon(ByVal identifier As String, ByVal frameworkElement As System.Windows.FrameworkElement) As System.Windows.Media.Imaging.BitmapSource

GetLargeIcon(String, System.Windows.FrameworkElement, Windows.Forms.ResourceProvider.ImageSourceSettings)

public static System.Windows.Media.Imaging.BitmapSource GetLargeIcon(string identifier, System.Windows.FrameworkElement frameworkElement, Windows.Forms.ResourceProvider.ImageSourceSettings settings);
Public Shared Function GetLargeIcon(ByVal identifier As String, ByVal frameworkElement As System.Windows.FrameworkElement, ByVal settings As Windows.Forms.ResourceProvider.ImageSourceSettings) As System.Windows.Media.Imaging.BitmapSource

GetLargeIcon(System.IO.Stream, System.Windows.FrameworkElement)

public static System.Drawing.Bitmap GetLargeIcon(System.IO.Stream stream, System.Windows.FrameworkElement frameworkElement);
Public Shared Function GetLargeIcon(ByVal stream As System.IO.Stream, ByVal frameworkElement As System.Windows.FrameworkElement) As System.Drawing.Bitmap

Parameters

Parameter Description
identifier The identifier of the item that is associated with the requested large icon.
dpi Specifies the resolution that is used to create the requested large icon.
settings Specifies an ImageSourceSettings object with additional settings for receiving the large image.
frameworkElement Specifies the framework element from where the resolution is determined that is used to create the requested large icon.
stream Specifies the Scalable Vector Graphics (SVG) stream that is used to create the requested large icon.

Return Value

A bitmap of the large icon that is assigned to the item. If no large icon is associated with the item, the method returns null.

Remarks

An exception is thrown if the instance of the specified frameworkElement parameter is not loaded.