Aether Utilities Aether Utilities
Aether Utilities Aether Utilities
DocFX + Singulink = ♥

Search Results for

    Edit this page

    Class IconReader

    Namespace
    AetherUtils.Core.WinForms
    Assembly
    AetherUtils.Core.dll
    Provides static methods to read system icons for both folders and files. i.e.,

    IconReader.GetFileIcon("c:\\general.xls");
    public static class IconReader
    Inheritance
    object
    IconReader
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()

    Methods

    GetFileIcon(string, IconSize, bool)

    Returns an icon for a given file - indicated by the name parameter.
    public static Icon GetFileIcon(string name, IconReader.IconSize size, bool linkOverlay)

    Parameters

    name string
    Pathname for file.
    size IconReader.IconSize
    Large or small
    linkOverlay bool
    Whether to include the link icon

    Returns

    Icon
    System.Drawing.Icon

    GetFolderIcon(IconSize, FolderType)

    Used to access system folder icons.
    [UsedImplicitly]
    public static Icon GetFolderIcon(IconReader.IconSize size, IconReader.FolderType folderType)

    Parameters

    size IconReader.IconSize
    Specify large or small icons.
    folderType IconReader.FolderType
    Specify open or closed FolderType.

    Returns

    Icon
    System.Drawing.Icon
    (c) 2024 Ethan Hann. All rights reserved.