Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

FindById Method

Show in webframe
Example 
ID to find
Finds an interactive mode in the collection given its id.
Syntax
 function Leadtools.Controls.ImageViewerInteractiveModes.findById( 
   id 
)

Parameters

ParameterTypeDescription
idintID to find

Return Value

TypeDescription
ImageViewerInteractiveMode The interactive mode found if any, null otherwise.
Remarks

This method will iterate through all the items in the collection and return the mode where Id is equal to id. If no such mode is found then it will return null.

Example
var panZoom = new lt.Controls.ImageViewerPanZoomInteractiveMode();
panZoom = this._imageViewer.interactiveModes.findById(lt.Controls.ImageViewerInteractiveMode.panZoomModeId);
var inertiaOptions = panZoom.inertiaScrollOptions;
inertiaOptions.isEnabled = true;
panZoom.inertiaScrollOptions = inertiaOptions;
See Also

Reference

ImageViewerInteractiveModes Object
ImageViewerInteractiveModes Members

Error processing SSI file