LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

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
)
 function Leadtools.WinForms.RasterThumbnailBrowser.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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterThumbnailBrowser Class
RasterThumbnailBrowser Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.