getAllVisibleItems Method

Summary

Gets all the visible items in the viewer.

Syntax

JavaScript Syntax
ImageViewer.prototype.getAllVisibleItems = function( 
   part 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly