setItem Method

Summary

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

Syntax
TypeScript
JavaScript
ImageViewerItems.prototype.setItem = function( 
   index, 
   item 
) 
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 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.