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

ElementAjaxMethod Property

Show in webframe
The request method type to use when loading an image via AJAX.
Syntax
get_elementAjaxMethod();
set_elementAjaxMethod(value);
Object.defineProperty('elementAjaxMethod');

Property Value

TypeDescription
stringA string value, case-insensitive, dictating the method to use for the AJAX request. Default value is GET.
Remarks

As discussed in Image Loading using the Documents Library, some methods (like GetImageElement) can make requests for HTML or SVG Elements that represent a DocumentPage for a loaded Document. The images are loaded internally with an ImageLoader, and callbacks to resolve the Promise object are attached to that loader.

Since the ImageLoader is not exposed from the method in this case, ElementAjaxMethod and ElementUrlMode are used for default values for the AJAX method type and ImageLoaderUrlMode. However, each of these methods also takes an optional ImageLoader parameter for complete control (like GetImageElement. If this parameter is provided, the values of ElementAjaxMethod and ElementUrlMode are ignored since they can be set with UrlMode and Method, respectively.

See Image Loading using the Documents Library for more information.

See Also

Reference

DocumentImages Object
DocumentImages Members

Error processing SSI file