Remarks
An exception is thrown if the handle of the specified control parameter is not created.
Gets a System.
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
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
public static System.Drawing.Bitmap GetLargeIcon(System.IO.Stream stream, float dpi);
Public Shared Function GetLargeIcon(ByVal stream As System.IO.Stream, ByVal dpi As Single) As System.Drawing.Bitmap
public static System.Drawing.Bitmap GetLargeIcon(string identifier, System.Windows.Forms.Control control);
Public Shared Function GetLargeIcon(ByVal identifier As String, ByVal control As System.Windows.Forms.Control) As System.Drawing.Bitmap
public static System.Drawing.Bitmap GetLargeIcon(string identifier, System.Windows.Forms.Control control, Windows.Forms.ResourceProvider.ImageSourceSettings settings);
Public Shared Function GetLargeIcon(ByVal identifier As String, ByVal control As System.Windows.Forms.Control, ByVal settings As Windows.Forms.ResourceProvider.ImageSourceSettings) As System.Drawing.Bitmap
public static System.Drawing.Bitmap GetLargeIcon(System.IO.Stream stream, System.Windows.Forms.Control control);
Public Shared Function GetLargeIcon(ByVal stream As System.IO.Stream, ByVal control As System.Windows.Forms.Control) As System.Drawing.Bitmap
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 Image |
control | Specifies the control 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. |
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.
An exception is thrown if the handle of the specified control parameter is not created.