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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.