Function
Gets the intersection data of the cursor and the line.
Format
Ret = dncGraph1.GetCursorData(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 ]
Specifies the target line No..
xCursorData [ C#: out float ] [ VB.NET: Single ]
Gets the X-axis data.
yCursorData [ C#: out float ] [ VB.NET: Single ]
Gets the Y-axis data.
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.
Example
Gets the intersection data of line 0 and cursor A.
C# |
int Ret;
|
VB.NET |
Dim Ret As Integer
|