isVisible Property (ImageViewerItem)

Summary

Indicates if this item is visible.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewerItem.prototype, 'isVisible', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
isVisible: boolean; 

Property Value

true if this item is visible, otherwise; false. Default value is true.

Remarks

Invisible items (the value of IsVisible is false) will not be rendered nor participate in layout calculations.

For more information, refer Image Viewer Items, Image Viewer Layouts and Image Viewer Rendering.

Example

JavaScript Example
this._imageViewer.beginUpdate(); 
var item = this._imageViewer.items.item(0); 
item.isVisible = !item.isVisible; 
alert("imageViewer.items.item(0).isVisible = " + item.isVisible.toString()); 
this._imageViewer.endUpdate(); 

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