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