Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

HasImage Property (ImageViewer)

Show in webframe
Gets a value that indicate if the viewer currently has an image (single item mode).
Syntax
get_hasImage();
Object.defineProperty('hasImage');

Property Value

TypeDescription
booleantrue if the viewer currently has an image; otherwise, false.
Remarks

The viewer has an image when the value of ImageSize is not empty (0,0). In other words, if any of ImageUrl, Image or Canvas has been set to a valid value or if the user set the value of ImageSize directly.

This is a helper property for applications that use ImageViewer in single item mode. It is a shortcut to ActiveItem. For more information, refer to Image Viewer in Single Item Mode.

See Also

Reference

ImageViewer Object
ImageViewer Members

Error processing SSI file