[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SpreadView.GetColumnHeaderCellFromPixel

GetColumnHeaderCellFromPixel Method

GetColumnHeaderCellFromPixel(int, int)

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

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

X-coordinate (in pixels) of the pointer location

int y

Y-coordinate (in pixels) of the pointer location

Returns
Type Description
CellRange

GetColumnHeaderCellFromPixel(int, int, int)

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

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

Column index in the viewport

int x

X-coordinate (in pixels) of the pointer location

int y

Y-coordinate (in pixels) of the pointer location

Returns
Type Description
CellRange