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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.