Delete the image data for an item.
protected abstract void DeleteItem(
ImageViewerItem item,
object data
)
Protected MustOverride Sub DeleteItem(
ByVal item As ImageViewerItem,
ByVal data As Object
)
protected:
virtual void DeleteItem(
ImageViewerItem^ item,
Object^ data
) abstract
item
Source item
data
The image object for this item.
This method is called when the item is no longer used. data must be deleted by the derived class here. For example, if
data implements System.IDisposable, then it should be disposed here.
data is the same object returned from LoadItem for this item.
You should encapsulate the code inside this method with a try/catch and handle the error correctly. This method will not automatically fire the ItemError event.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document