GoDiagram Win Reference
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
Remove any cached image identified by an ImageList and an index.
Syntax
'Declaration
 
Public Overloads Shared Sub ClearCachedImage( _
   ByVal imglist As ImageList, _
   ByVal idx As Integer _
) 
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoImage Class
GoImage Members
Overload List
UnloadImage Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback