GetItemRect Method
Description
The GetItemRect method returns the coordinates of the bounding rectangle for the specified GridRecordItem in the Row.
Syntax
Public Sub GetItemRect( _
ByVal Item As GridRecordItem, _
ByRef left As Long, _
ByRef top As Long, _
ByRef right As Long, _
ByRef bottom As Long _
)
Parameters
- Item: Reference to a GridRecordItem in the GridRow.
- left: Specifies the x-coordinate of the upper-left corner of a rectangle.
- top: Specifies the y-coordinate of the upper-left corner of a rectangle.
- right: Specifies the x-coordinate of the lower-right corner of a rectangle.
- bottom: Specifies the y-coordinate of the lower-right corner of a rectangle.
Return Type
Returns the coordinates of the bounding rectangle for the specified GridRecordItem in the Row.
Remarks
Call the GetItemRect method to determine the coordinates of the region where the specified GridRecordItem is located in this row. GetItemRect returns the coordinates of the upper-left and lower-right corners of the bounding rectangle for the specified GridRecordItem in the Row.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.