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

GetItemRectangle Method (RasterThumbnailBrowser)






The item within the RasterImageList whose bounding rectangle you want to retrieve.
Retrieves the bounding rectangle for a specific item within the RasterImageList control.
Syntax
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
)
 function Leadtools.WinForms.RasterThumbnailBrowser.GetItemRectangle( 
   item 
)
public:
Rectangle GetItemRectangle( 
   RasterImageListItem^ item
) 

Parameters

item
The item within the RasterImageList whose bounding rectangle you want to retrieve.

Return Value

A System.Drawing.Rectangle that represents the bounding rectangle of the specified RasterImageListItem.
Remarks

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.

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.