Leadtools.Controls Namespace > ImageViewerInteractiveMode Object : UpdateAutoItem Method |
function Leadtools.Controls.ImageViewerInteractiveMode.updateAutoItem( imageViewer , position )
Parameter | Type | Description |
---|---|---|
imageViewer | ImageViewer | Current image viewer instance. |
position | LeadPointD | Current position of the cursor or touch. |
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.