←Select platform

GetItemRectangle Method (RasterThumbnailBrowser)

Summary

Retrieves the bounding rectangle for a specific item within the RasterImageList control.

Syntax

C#
VB
C++
public Rectangle GetItemRectangle(  
   Leadtools.Winforms.RasterImageListItem item 
) 
  
Public Function GetItemRectangle( _ 
   ByVal item As Leadtools.Winforms.RasterImageListItem _ 
) As Rectangle 
public: 
Rectangle GetItemRectangle(  
   Leadtools.Winforms.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

This example will highlight the position of all visible items a RasterImageList control.

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