Gets a System.Windows.Media.Imaging.BitmapSource of the large icon that is associated with an item and specified by the identifier parameter. Such an identifier can be the string conversion of an enum that is associated with an item (such RibbonFormattingTab.RibbonItem.TXITEM_Paste). The size of the returned large icon depends on the resolution that is specified by the dpi parameter. 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

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.

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.