GdPicture.NET.14
GdPicture14 Namespace / GdPictureDocumentUtilities Class / ReleaseAllGdPictureImages Method
Example





In This Topic
ReleaseAllGdPictureImages Method (GdPictureDocumentUtilities)
In This Topic
Releases all GdPicture image allocated by the Toolkit.
Syntax
'Declaration
 
Public Shared Function ReleaseAllGdPictureImages() As Integer
public static int ReleaseAllGdPictureImages()
public function ReleaseAllGdPictureImages(): Integer; static; 
public static function ReleaseAllGdPictureImages() : int;
public: static int ReleaseAllGdPictureImages(); 
public:
static int ReleaseAllGdPictureImages(); 

Return Value

The number of GdPicture image disposed.
Remarks
This method should only be used to diagnoze memory leaks.
Example
How to release all previously allocated GdPictureImage objects from memory.
GdPictureDocumentUtilities.ReleaseAllGdPictureImages()
GdPictureDocumentUtilities.ReleaseAllGdPictureImages();
See Also