| GridControlCalcRectFromRowColEx Method (UInt32, UInt32, UInt32, UInt32) |
Computes the window-area for the given range of cells.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public Rectangle CalcRectFromRowColEx(
uint startRow,
uint startCol,
uint endRow,
uint endCol
)
Public Function CalcRectFromRowColEx (
startRow As UInteger,
startCol As UInteger,
endRow As UInteger,
endCol As UInteger
) As Rectangle
public:
Rectangle CalcRectFromRowColEx(
unsigned int startRow,
unsigned int startCol,
unsigned int endRow,
unsigned int endCol
)
Parameters
- startRow
- Type: SystemUInt32
The top row. - startCol
- Type: SystemUInt32
The left column. - endRow
- Type: SystemUInt32
The bottom row. - endCol
- Type: SystemUInt32
The right column.
Return Value
Type:
RectangleThe window-area for the given range of cells including
covered cells. The window area is enlarged. All covered cells
in the range will fit into the area.
See Also