| Leadtools.Documents Namespace > DocumentFactory Object : DeleteFromCache Method |
function Leadtools.Documents.DocumentFactory.deleteFromCache( documentId )
| Parameter | Type | Description |
|---|---|---|
| documentId | string | The unique identifier of the Document object. |
| Type | Description |
|---|---|
| jQueryApi.IDeferred | A voidPromise object that may resolve succesfully. |
When a Document object is loaded with either LoadFromUri or LoadFromCache, the unique DocumentId property is available. DeleteFromCache can use this value to immediately delete the data from the cache.