Error processing SSI file
LEADTOOLS Leadtools.Documents.UI (Leadtools.Documents.UI assembly)

UseAjaxImageLoading Property

Show in webframe
Determines how images will be loaded when a new document is loaded.
Syntax
get_useAjaxImageLoading();
set_useAjaxImageLoading(value);
Object.defineProperty('useAjaxImageLoading');

Property Value

TypeDescription
booleantrue if the application should use AjaxDataUrl to load images, or false if the application should use ImageUrl. Default is false.
Remarks

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.

See Also

Reference

DocumentViewer Object
DocumentViewer Members

Error processing SSI file
  Leadtools.Documents.UI requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features