updateAutoItem Method

Summary

Updates the Item property.

Syntax

JavaScript Syntax
ImageViewerInteractiveMode.prototype.updateAutoItem = function( 
   imageViewer, 
   position 
) 
TypeScript Syntax
updateAutoItem( 
   imageViewer: ImageViewer, 
   position: LeadPointD 
): void; // protected 

Parameters

imageViewer

Current image viewer instance.

position

Current position of the cursor or touch.

Remarks

If ImageViewerAutoItemMode.Item was specified in AutoItemMode, then this method will perform hit-testing and update Item if the conditions are met. It will also update ActiveItem if ImageViewerAutoItemMode.AutoSetActive was specified.

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