Leadtools.Controls Namespace > ImageViewer Object : GetFirstVisibleItemIndex Method |
function Leadtools.Controls.ImageViewer.getFirstVisibleItemIndex( part )
Parameter | Type | Description |
---|---|---|
part | ImageViewerItemPart | The item part requested. To use the whole item, pass ImageViewerItemPart.View. |
Type | Description |
---|---|
int | The 0-based index of the first visible item or -1 if the item does not have any visible items. |
For more information refer to Image Viewer Layouts, Image Viewer Appearance, Image Viewer Items, Image Viewer Transformation, and Image Viewer Bounds and Transform.