Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Slicers Namespace / Slicer Class / HitTestOverride Method
The x-coordinate at which to retrieve hit test information.
The y-coordinate at which to retrieve hit test information.
The client rectangle of the slicer.
The scaling factor for displaying.


In This Topic
    HitTestOverride Method
    In This Topic
    Gets the hit test information at the position of a slicer.
    Syntax
    'Declaration
     
    
    Public Function HitTestOverride( _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal rect As Rectangle, _
       Optional ByVal zoomFactor As Double _
    ) As HitTestInfo
    'Usage
     
    
    Dim instance As Slicer
    Dim x As Double
    Dim y As Double
    Dim rect As Rectangle
    Dim zoomFactor As Double
    Dim value As HitTestInfo
     
    value = instance.HitTestOverride(x, y, rect, zoomFactor)
    public HitTestInfo HitTestOverride( 
       double x,
       double y,
       Rectangle rect,
       double zoomFactor
    )

    Parameters

    x
    The x-coordinate at which to retrieve hit test information.
    y
    The y-coordinate at which to retrieve hit test information.
    rect
    The client rectangle of the slicer.
    zoomFactor
    The scaling factor for displaying.

    Return Value

    The hit test information at the position of a slicer.
    See Also