Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
Leadtools.WinForms Namespace > RasterThumbnailBrowser Class : GetItemRectangle Method |
public Rectangle GetItemRectangle( RasterImageListItem item )
'Declaration Public Function GetItemRectangle( _ ByVal item As RasterImageListItem _ ) As Rectangle
'Usage Dim instance As RasterThumbnailBrowser Dim item As RasterImageListItem Dim value As Rectangle value = instance.GetItemRectangle(item)
public: Rectangle GetItemRectangle( RasterImageListItem^ item )
The bounding rectangle returned by this method represents the entire item.
The bounding rectangle that this method returns could contain a negative position or could be outside the client rectangle of the control. The exact position of the item depends on the current size of the control as well as the current scroll position.
This example will highlight the position of all visible items a RasterImageList control.