Gets a System.Drawing.Bitmap 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, Float)

public static System.Drawing.Bitmap GetLargeIcon(string identifier, float dpi);
Public Shared Function GetLargeIcon(ByVal identifier As String, ByVal dpi As Single) As System.Drawing.Bitmap

GetLargeIcon(String, Float, Windows.Forms.ResourceProvider.ImageSourceSettings)

public static System.Drawing.Bitmap GetLargeIcon(string identifier, float dpi, Windows.Forms.ResourceProvider.ImageSourceSettings settings);
Public Shared Function GetLargeIcon(ByVal identifier As String, ByVal dpi As Single, ByVal settings As Windows.Forms.ResourceProvider.ImageSourceSettings) 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.

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.