getAllVisibleItems Method

Summary

Gets all the visible items in the viewer.

Syntax
TypeScript
JavaScript
ImageViewer.prototype.getAllVisibleItems = function( 
   part 
) 
getAllVisibleItems( 
   part: ImageViewerItemPart 
): ImageViewerItem[]; 

Parameters

part

The item part requested. To use the whole item, pass ImageViewerItemPart.View.

Return Value

An array of ImageViewerItem of all the items that are visible within the ControlSize. If no items are visible, the array is empty.

Remarks

To get just the first visible item, see GetFirstVisibleItem. To get just the last visible item, see GetLastVisibleItem.

For more information, refer to Image Viewer Layouts, Image Viewer Appearance, Image Viewer Items, Image Viewer Transformation, and Image Viewer Bounds and Transform.

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.