getSelected Method

Summary

Returns the current selected items in the viewer

Syntax

JavaScript Syntax
ImageViewerItems.prototype.getSelected = function() 
TypeScript Syntax
getSelected(): ImageViewerItem[]; 

Return Value

An array of the items that are currently selected in the viewer.

Remarks

This method will return an array that contains all the items that have the value of ImageViewerItem.IsSelected set to true.

Example

For an example, refer to ImageViewerSelectItemsInteractiveMode.

Requirements

Target Platforms

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

Leadtools.Controls Assembly