GdPicture.NET Reference Guide
ReleaseAllGdPictureImages Method (GdPictureDocumentUtilities)
Example 





GdPicture14 Namespace > GdPictureDocumentUtilities Class : ReleaseAllGdPictureImages Method
Forces the toolkit to release all previously allocated memory for all used GdPictureImage objects. Please note that this method calls the ForceGarbageCollection method as well.
Syntax
'Declaration
 
Public Shared Sub ReleaseAllGdPictureImages() 
public static void ReleaseAllGdPictureImages()
public procedure ReleaseAllGdPictureImages(); static; 
public static function ReleaseAllGdPictureImages();
public: static void ReleaseAllGdPictureImages(); 
public:
static void ReleaseAllGdPictureImages(); 
Remarks
Be aware that this method is not thread-safe and should only be used for debugging purpose in order to detect possible memory leaks.

Likewise, this method calls the ForceGarbageCollection method.

Example
How to release all previously allocated GdPictureImage objects from memory.
GdPictureDocumentUtilities.ReleaseAllGdPictureImages()
GdPictureDocumentUtilities.ReleaseAllGdPictureImages();
See Also

Reference

GdPictureDocumentUtilities Class
GdPictureDocumentUtilities Members
ForceGarbageCollection Method