DefaultAjaxWithCredentials Field

Summary

Indicates the default for AjaxWithCredentials.

Syntax
TypeScript
JavaScript
ImageLoader.defaultAjaxWithCredentials = (default value); 
static defaultAjaxWithCredentials: boolean; 

Field Value

true if in new instances of ImageLoader the image should send credentials with the image request; false otherwise. The default value is false.

Remarks

This property is only useful for AJAX calls with ImageLoaderUrlMode.AjaxDataUrl or ImageLoaderUrlMode.AjaxXml. For ImageLoaderUrlMode.ImageUrl, see DefaultImgCrossOrigin and ImgCrossOrigin.

The static DefaultAjaxWithCredentials is used to set the AjaxWithCredentials instance property for each new ImageLoader. The ImageLoader's AjaxWithCredentials value is the actual value used in setting the XMLHttpRequest.withCredentials property in the Xhr.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.