parentDiv Property (ImageViewerCreateOptions)

Summary

Get or sets the HTML Div Element in the HTML page that will act as the parent (container) of the viewer.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewerCreateOptions.prototype, 'parentDiv', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
parentDiv: HTMLDivElement; 

Property Value

The div in the HTML page that will act as the parent (container) of the viewer. Default value is null.

Remarks

This property is required and must contain a valid div in your HTML page.

Example

For an example, refer to ImageViewer.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize