Spread Windows Forms 18
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadView Class / GetColumnHeaderCellFromPixel Method / GetColumnHeaderCellFromPixel(Int32,Int32,Int32) Method
Column index in the viewport
X-coordinate (in pixels) of the pointer location
Y-coordinate (in pixels) of the pointer location


In This Topic
    GetColumnHeaderCellFromPixel(Int32,Int32,Int32) Method
    In This Topic
    Gets the row and column indexes of the column header cell at the specified pointer location.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetColumnHeaderCellFromPixel( _
       ByVal columnViewportIndex As Integer, _
       ByVal x As Integer, _
       ByVal y As Integer _
    ) As CellRange
    'Usage
     
    
    Dim instance As SpreadView
    Dim columnViewportIndex As Integer
    Dim x As Integer
    Dim y As Integer
    Dim value As CellRange
     
    value = instance.GetColumnHeaderCellFromPixel(columnViewportIndex, x, y)
    public CellRange GetColumnHeaderCellFromPixel( 
       int columnViewportIndex,
       int x,
       int y
    )

    Parameters

    columnViewportIndex
    Column index in the viewport
    x
    X-coordinate (in pixels) of the pointer location
    y
    Y-coordinate (in pixels) of the pointer location
    See Also