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


In This Topic
    GetColumnHeaderCellFromPixel(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 x As Integer, _
       ByVal y As Integer _
    ) As CellRange
    'Usage
     
    
    Dim instance As SpreadView
    Dim x As Integer
    Dim y As Integer
    Dim value As CellRange
     
    value = instance.GetColumnHeaderCellFromPixel(x, y)
    public CellRange GetColumnHeaderCellFromPixel( 
       int x,
       int y
    )

    Parameters

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