ImageEngine.LoadSpriteStaticIcon C# (CSharp) Method

LoadSpriteStaticIcon() public method

Load Icons from Icon Sprite (Uses sprite.css) for loading Icons. This method is quicker as compared to using the LoadStaticIconLocation() Method of ImageEngine.cs.
public LoadSpriteStaticIcon ( string tag ) : string
tag string The input tag.
return string
    public string LoadSpriteStaticIcon(string tag)
    {
        //  Using Sprites
        string iconSpan = "<span class='ss_sprite ss_" + _staticIconsHashTable[tag] + " ' > </span>";
        return iconSpan;
    }