HitTest Method (RasterThumbnailBrowser)

Summary

Queries the specified location to determine if the point is over a RasterImageListItem.

Syntax

C#
C++
public RasterImageListItem HitTest(  
   int x, 
   int y 
) 
public: 
RasterImageListItem^ HitTest(  
   int x, 
   int y 
)  

Parameters

x
The horizontal position of the coordinate in client coordinates.

y
The vertical position of the coordinate in client coordinates.

Return Value

An RasterImageListItem object under the given location, or null (Nothing in VB) if no RasterImageListItem is under the location.

Example

This example will create and populate a RasterImageList control, and then performs hittesting when the user right clicks on the control and shows the item information.

Requirements

Target Platforms

See Also

Reference

RasterThumbnailBrowser Class

RasterThumbnailBrowser Members

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

Leadtools.WinForms Assembly

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