Method icon.load
Overload
Extracts icon directly from file.
public static icon load(string file, int size = 16, int index = 0)
Parameters
|
file (string)
|
|
size (int)
Icon width and height. Default 16. |
|
index (int)
Icon index or negative icon resource id in the |
Returns
|
icon
|