Remarks
An exception is thrown if the handle of the specified control parameter is not created.
Gets a System.
public static System.Drawing.Bitmap GetSmallIcon(string identifier, float dpi);
public static System.Drawing.Bitmap GetSmallIcon(string identifier, float dpi, Windows.Forms.ResourceProvider.ImageSourceSettings settings);
public static System.Drawing.Bitmap GetSmallIcon(System.IO.Stream stream, float dpi);
public static System.Drawing.Bitmap GetSmallIcon(string identifier, System.Windows.Forms.Control control);
public static System.Drawing.Bitmap GetSmallIcon(string identifier, System.Windows.Forms.Control control, Windows.Forms.ResourceProvider.ImageSourceSettings settings);
public static System.Drawing.Bitmap GetSmallIcon(System.IO.Stream stream, System.Windows.Forms.Control control);
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 |
control | Specifies the control 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 handle of the specified control parameter is not created.
Learn more about the TXText