Determines how images will be loaded when a new document is loaded.
Object.defineProperty(DocumentViewer.prototype, 'useAjaxImageLoading',
get: function(),
set: function(value)
)
useAjaxImageLoading: boolean;
true if the application should use AjaxDataUrl to load images, or false if the application should use ImageUrl. Default is false.
This value determines how images will be loaded for DocumentViewerThumbnails (regardless of the value of UseGrids) and DocumentViewerView. Using AJAX allows the application to hook to the PrepareAjax event to modify the request to suit your application's needs; the AJAX method, route, parameters, data, and headers can all be changed.
This value will also determine how images are loaded when Url is set (either externally or when an image is reloaded through AutoRemoveItemElements). The DocumentViewer hooks in to the ImageLoading event to change the UrlMode to match the value kept in accordance with this value. To change the ImageLoaderUrlMode back for those cases, you can employ this same strategy and hook to the ImageLoading event in your application.
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