C# Класс APG.CodeHelper.IconHelper.IconReader

Provides static methods to read system icons for both folders and files.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetFileIcon() публичный статический Метод

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
Результат System.Drawing.Icon

GetFolderIcon() публичный статический Метод

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.
Результат System.Drawing.Icon