var instance = new GC.Spread.Sheets.Workbook(host); var value; // Type: Object value = instance.hitTest(x, y);
Parameters
- x
- The x-coordinate, x relative to spread horizontal axis.
- y
- The y-coordinate, y relative to spread vertical axis.
Return Value
The hit test information. If selecting the worksheet, the worksheet information is returned. The information contains x, y, and worksheetHitInfo; If selecting the sheetsTabStrip, the sheetsTabStrip information is returned. This information contains x, y, and tabStripHitInfo; If selecting the horizontalScrollbar, the horizontalScrollbar information is returned. This information contains x, y, and horizontalScrollBarHitInfo; If selecting the verticalScrollbar, the verticalScrollbar information is returned. This information contains x, y, and verticalScrollBarHitInfo; If selecting the footerCorner, the footerCorner information is returned. This information contains x, y, and footerCornerHitInfo.