[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.GetCellFromPixel

GetCellFromPixel Method

GetCellFromPixel(int, int, int, int)

Gets the row and column indexes of the cell at the specified pointer location.

Declaration
public CellRange GetCellFromPixel(int rowViewportIndex, int columnViewportIndex, int x, int y)
Public Function GetCellFromPixel(rowViewportIndex As Integer, columnViewportIndex As Integer, x As Integer, y As Integer) As CellRange
Parameters
Type Name Description
int rowViewportIndex

Index of the row of the viewport

int columnViewportIndex

Index of the column of the viewport

int x

X-coordinate of the pointer location

int y

Y-coordinate of the pointer location

Returns
Type Description
CellRange