hitTestItems Method

Summary

Items that intersect with a rectangle in physical (in viewer pixel) coordinates.

Syntax
TypeScript
JavaScript
ImageViewer.prototype.hitTestItems = function( 
   rect 
) 
hitTestItems( 
   rect: LeadRectD 
): ImageViewerItem[]; 

Parameters

rect

Rectangle to test in physical (in viewer pixel) coordinates.

Return Value

An array containing the items that intersect with the rectangle. Or an empty array if no items satisfies the condition.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly