ShellBrowser Delphi Components Documentation
|
Returns the icon number for a given path.
class function GetIndexFromPathByExt(const Path: string; aSize: TJamImageListSize = si_Small; Opened: Boolean = False): Integer;
Parameters |
Description |
const Path: string |
The file path of interest. |
aSize: TJamImageListSize = si_Small |
The size of interest. Default: si_Small |
Opened: Boolean = False |
Pass true to receive opened icons where available. Default false. |
The requested icon index.
This method returns for a folder, which ends with "", and an UNC path the number of the folder icon and for files the number of the icon for the extension.