SystemIcons
Methods to get system icons for file types and static icons
Methods
Get
#Gets a static system-defined icon for the specified type.
Parameters:
| type (SystemIconType) | Type of the static icon to retrieve. |
| size (SystemIconSize) | Size of the icon. |
Returns: The static icon for the specified type.
GetFileIcon
#Gets a file icon for the specified file
Remarks: The file does not necessarily have to exist for the icon to be retrieved, though if it is a specific file then the platform may be able to return a file-specific icon if one is available.
Parameters:
| fileName (string) | Name of the file to get the icon for. |
| size (SystemIconSize) | Size of the icon. |
Returns: The icon for the specified file name.