Error processing SSI file
LEADTOOLS Windows Forms (Leadtools.WinForms assembly)

Show in webframe

HitTest Method (RasterThumbnailBrowser)






The horizontal position of the coordinate in client coordinates.
The vertical position of the coordinate in client coordinates.
Queries the specified location to determine if the point is over a RasterImageListItem.
Syntax
public RasterImageListItem HitTest( 
   int x,
   int y
)
'Declaration
 
Public Function HitTest( _
   ByVal x As Integer, _
   ByVal y As Integer _
) As RasterImageListItem
'Usage
 
Dim instance As RasterThumbnailBrowser
Dim x As Integer
Dim y As Integer
Dim value As RasterImageListItem
 
value = instance.HitTest(x, 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 Visual Basic) 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

Error processing SSI file