setItem Method

Summary

Overrides LeadCollection.SetItem to handle replacing items in the viewer.

Syntax

JavaScript Syntax
ImageViewerItems.prototype.setItem = function( 
   index, 
   item 
) 
TypeScript Syntax
setItem( 
   index: number, 
   item: ImageViewerItem 
): void; // protected 

Parameters

index

The 0-based index of the collection entry to replace.

item

The new ImageViewerItem.

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