This method deletes the thumbnail directory and all of the thumbnail images it contains.

[Visual Basic] Public Function DeleteThumbnailDirectory() As Boolean
[C#] public bool DeleteThumbnailDirectory() ;

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The DeleteThumbnailDirectory method deletes the thumbnail directory and all of the thumbnail images it contains. It is not usually necessary to use this method unless you wish to force the thumbnail directory to be deleted. Under normal circumstances, the Thumbnail Control automatically deletes the thumbnail directory when thumbnail images are recreated.

Thumbnail images are automatically created when the ShowThumbnailImages method is executed and: the thumbnail directory does not exist; when the Thumbnail Control's ConfigFile has been changed; or when the thumbnail directory's timestamp is older then the image directory's timestamp. Since deleting and recreating thumbnail images produces a load on the server, please only use this method unless you need to force the thumbnail directory to be deleted.

See Also

ImageKit.WPF.Web.Thumbnail Members | Newtone.ImageKit.WPF.Web.Thumbnail

 

The ImageKit WPF is created by Newtone Corporation