Function
Gets the intersection data of the cursor and all valid lines.
Format
Ret = dncGraph1.GetCursorAllData(TargetCursor, LineNo, xCursorData, yCursorData)
Parameters
TargetCursor [ C#: short ] [ VB.NET: Short ]
Select the data you want to retrieve.
Value |
Description |
0 |
Intersection with cursor A |
1 |
Intersection with cursor B |
2 |
Difference from the intersection with cursor B to the intersection with cursor A |
LineNo [ C#: short[] ] [ VB.NET: Short() ]
Gets the target line No..
You can check the number of target lines
by CrossPointNum.
*The maximum number of lines is 100 (0-99).
xCursorData [ C#: out float[] ] [ VB.NET: Single() ]
Gets the X-axis data.
You can check the number of target lines by CrossPointNum.
*The maximum number of lines is 100 (0-99).
yCursorData [ C#: out float[] ] [ VB.NET: Single() ]
Gets the Y-axis data.
You can check the number of target lines by CrossPointNum.
*The maximum number of lines is 100 (0-99).
Return value
Ret [ C#: int ] [ VB.NET: Integer ]
Value |
Description |
0 |
Normality completion |
510001 |
The input parameter is invalid. Check the parameter contents. |
Other errors (see: Error code details)
Remarks
Gets the intersection data of the line and
the cursor,
or the difference between intersection data of the line and each cursor.
In addition, the data of all valid lines are acquired at once.
Example
Gets the intersection data for cursor A.
C# |
int Ret;
|
VB.NET |
Dim Ret As Integer
|