element Property

Summary

The HTML or SVG Element to be displayed in the viewer (single item mode).

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewer.prototype, 'element', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
element: HTMLElement; 

Property Value

The svg or user-defined HTML to be displayed in the viewer (single item mode). Default value is null.

Remarks

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

Example

For an example, refer to Element

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly