SurfaceSeries3DBaseIsPositionOver Method (Int32, Int32, Int32, Int32, Boolean) |
LightningChart .NET Help
Detect if position is over the series. Also solves the column and row index where position is over of.
Namespace:
Arction.WinForms.Charting.Series3D
Assembly:
Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntaxpublic bool IsPositionOver(
int x,
int y,
out int hitColumnIndex,
out int hitRowIndex,
bool useDIP = false
)
Public Function IsPositionOver (
x As Integer,
y As Integer,
<OutAttribute> ByRef hitColumnIndex As Integer,
<OutAttribute> ByRef hitRowIndex As Integer,
Optional useDIP As Boolean = false
) As Boolean
public:
bool IsPositionOver(
int x,
int y,
[OutAttribute] int% hitColumnIndex,
[OutAttribute] int% hitRowIndex,
bool useDIP = false
)
Parameters
- x
- Type: SystemInt32
Screen X coordinate - y
- Type: SystemInt32
Screen Y coordinate - hitColumnIndex
- Type: SystemInt32
Column index. If failed, contains -1 - hitRowIndex
- Type: SystemInt32
Row index. If failed, contains -1 - useDIP (Optional)
- Type: SystemBoolean
Use DIPs instead of pixels
Return Value
Type:
BooleanTrue if position is over the series
See Also