updateAutoItem Method

Summary

Updates the Item property.

Syntax
TypeScript
JavaScript
ImageViewerInteractiveMode.prototype.updateAutoItem = function( 
   imageViewer, 
   position 
) 
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 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.