getSelected Method

Summary

Returns the current selected items in the viewer

Syntax
TypeScript
JavaScript
ImageViewerItems.prototype.getSelected = function() 
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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly