![](https://www.troi.com/wp-content/uploads/troi-file-get-custom-icons.jpg)
To do this you use the TrFile_GetIcon function. It can create icons in sizes varying from 16×16 to 1024×1024 pixels and even with double resolution for retina screens.
You can get the icon like this:
To do this you use the TrFile_GetIcon function. It can create icons in sizes varying from 16×16 to 1024×1024 pixels and even with double resolution for retina screens.
You can get the icon like this: