C# Class APG.CodeHelper.IconHelper.IconReader

Provides static methods to read system icons for both folders and files.
Show file Open project: UGTU/UGTUKadrProject Class Usage Examples

Public Methods

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

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

GetFolderIcon ( IconSize size, FolderType folderType ) : Icon

Used to access system folder icons.

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

GetFolderIcon() public static method

Used to access system folder icons.
public static GetFolderIcon ( IconSize size, FolderType folderType ) : Icon
size IconSize Specify large or small icons.
folderType FolderType Specify open or closed FolderType.
return System.Drawing.Icon