GdPicture.NET.14.API
GdPicture14 Namespace / GdPicturePDF Class / ClearCachedResources Method





In This Topic
ClearCachedResources Method (GdPicturePDF)
In This Topic
Clears the cache resources belonging to the loaded PDF document.
Syntax
'Declaration
 
Public Function ClearCachedResources() As GdPictureStatus
public GdPictureStatus ClearCachedResources()
public function ClearCachedResources(): GdPictureStatus; 
public function ClearCachedResources() : GdPictureStatus;
public: GdPictureStatus ClearCachedResources(); 
public:
GdPictureStatus ClearCachedResources(); 

Return Value

A member of the GdPictureStatus enumeration.
Remarks
Most of the memory used by the toolkit have been allocated by the .NET garbage collector. Consequently all the unused memory will be available after the next garbage collection. The GdPictureDocumentUtilities.ForceGarbageCollection can be used to force a garbage collection.
See Also