Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

EnableByIndex Method

Show in webframe
0-based index of the mode to enable. -1 will disable all the items in the collection.
Enables an interactive mode giving its index in the collection.
Syntax
 function Leadtools.Controls.ImageViewerInteractiveModes.enableByIndex( 
   index 
)

Parameters

ParameterTypeDescription
indexint0-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.

See Also

Reference

ImageViewerInteractiveModes Object
ImageViewerInteractiveModes Members

Error processing SSI file