enableByIndex Method

Summary

Enables an interactive mode giving its index in the collection.

Syntax

JavaScript Syntax
ImageViewerInteractiveModes.prototype.enableByIndex = function(index) 
TypeScript Syntax
enableByIndex(index: number): void; 

Parameters

index

0-based index of the mode to enable. -1 will disable all the items in the collection.

Remarks

This method will iterate through all the items in the collection and set IsEnabled to false all the items except the one at index.

Example

For an example, refer to ImageViewerInteractiveModes.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly