←Select platform

HitTest Method (RasterThumbnailBrowser)

Summary

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

Syntax

C#
VB
C++
public Leadtools.Winforms.RasterImageListItem HitTest(  
   int x, 
   int y 
) 
  
Public Function HitTest( _ 
   ByVal x As Integer, _ 
   ByVal y As Integer _ 
) As Leadtools.Winforms.RasterImageListItem 
public: 
Leadtools.Winforms.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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly