Load the image data for an item.
protected abstract object LoadItem(
ImageViewerItem item
)
Protected MustOverride Function LoadItem(
ByVal item As ImageViewerItem
) As Object
protected:
virtual Object^ LoadItem(
ImageViewerItem^ item
) abstract
item
Source item
The image object for this item.
This method is called when an item comes into view and is not cached in memory.
Implementers must load the image data from the external source and return it here. This can be one of the following:
RasterImage object. Will used as if it was set in ImageViewerItem.Image.
SvgDocument object. Will used as if it was set in ImageViewerItem.SvgDocument.
null, there is no image data for this object.
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.
Products |
Support |
Feedback: LoadItem Method (ImageViewerVirtualizer) - Leadtools.Controls |
Introduction |
Help Version 19.0.2017.6.20
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.