C# Class AutoSquirrel.IconHelper.IconReader

Provides static methods to read system icons for both folders and files.
Show file Open project: tenacious/Auto.Squirrel

Public Methods

Method Description
GetFileIcon ( string name, IconSize size, bool linkOverlay ) : Icon

Returns an icon for a given file - indicated by the name parameter.

Method Details

GetFileIcon() public static method

Returns an icon for a given file - indicated by the name parameter.
public static GetFileIcon ( string name, IconSize size, bool linkOverlay ) : Icon
name string Pathname for file.
size IconSize Large or small
linkOverlay bool Whether to include the link icon
return System.Drawing.Icon