Save the image data for an item.
Protected MustOverride Sub SaveItem(
ByVal _item_ As ImageViewerItem,
ByVal _data_ As Object
The image object for this item.
This method is called when an item is about to be deleted from the cache. This gives the derived class the opportunity to serialize the data to disk or a database if needed.
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.
For an example, refer to ImageViewerVirtualizer.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries