Gets the bounds of a cell range within the grid.
'Declaration
Public Overloads Function GetCellBounds( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer _
) As System.Drawing.Rectangle
public System.Drawing.Rectangle GetCellBounds(
System.int ,
System.int ,
System.int ,
System.int
)
Parameters
- row
- Index of the first row in the range.
- col
- Index of the first column in the range.
- rowSpan
- Number or rows in the range.
- colSpan
- Number or columns in the range.
Return Value
A System.Drawing.Rectangle that contains the bounds of the cell range.