GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoImage Class / ClearCachedImage Method / ClearCachedImage(ImageList,Int32) Method
an ImageList
the non-negative index of a particular image; but if this value is negative, this clears all cached images associated with the imglist
In This Topic
    ClearCachedImage(ImageList,Int32) Method
    In This Topic
    Remove any cached image identified by an ImageList and an index.
    Syntax
    public static void ClearCachedImage( 
       ImageList imglist,
       int idx
    )

    Parameters

    imglist
    an ImageList
    idx
    the non-negative index of a particular image; but if this value is negative, this clears all cached images associated with the imglist
    Remarks
    Calling this method does not modify any existing GoImage, so no Images will be "lost". However, future calls to LoadImage will have to re-load from the given ImageList an image at the given index.
    See Also