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 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.