ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
TJamSystemImageList.GetIndexFromPathByExt Method

Returns the icon number for a given path.

Syntax
Pascal
class function GetIndexFromPathByExt(const Path: UnicodeString; aSize: TJamImageListSize = si_Small; Opened: Boolean = False): Integer;

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.

Copyright (c) 2011. All rights reserved.