ComponentOne Sizer for WinForms
C1.Win.Sizer.6 Assembly / C1.Win.Sizer Namespace / C1Sizer Class / GetCellBounds Method / GetCellBounds(Int32,Int32,Int32,Int32) Method
Index of the first row in the range.
Index of the first column in the range.
Number or rows in the range.
Number or columns in the range.

In This Topic
    GetCellBounds(Int32,Int32,Int32,Int32) Method
    In This Topic
    Gets the bounds of a cell range within the grid.
    Syntax
    'Declaration
     
    Public Overloads Function GetCellBounds( _
       ByVal row As System.Integer, _
       ByVal col As System.Integer, _
       ByVal rowSpan As System.Integer, _
       ByVal colSpan As System.Integer _
    ) As System.Drawing.Rectangle
    public System.Drawing.Rectangle GetCellBounds( 
       System.int row,
       System.int col,
       System.int rowSpan,
       System.int colSpan
    )

    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.
    See Also