url Property

Summary

The URL to load for the image request.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageLoader.prototype, 'url', 
	get: function(), 
	set: function(value) 
) 
url: string; 

Property Value

The URL to load for the image. Default value is null.

Remarks

The Url property is required to be set before calling Run. By default, the UrlMode is ImageLoaderUrlMode.ImageUrl, so the provided Url will be set directly to the src attribute of WorkingImageElement.

If the UrlMode is ImageLoaderUrlMode.AjaxDataUrl or ImageLoaderUrlMode.AjaxXml and the result image is an HTML Image Element (IsHTMLImageElement is true), there is the chance that the src attribute of Element will not be equal to the original Url; instead it may be a data/blob URI.

See Run and ImageLoaderUrlMode for more information. See ImgCrossOrigin for CORS discussions.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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