hitTestItems Method

Summary

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

Syntax

JavaScript Syntax
ImageViewer.prototype.hitTestItems = function(rect) 
TypeScript Syntax
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 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly