LayerGetCursorPosition¶
LayerGetCursorPosition liefert die Position der Cursor.
- rmPos = LayerGetCursorPosition(hLayer)
Returnwert
rmPos ist eine real-Matrix mit drei Spalten und drei Zeilen oder der Wert 0 falls kein Cursor angezeigt wird:
Wert |
Bedeutung |
---|---|
rmPos[1;1] |
x-Position Cursor 1 |
rmPos[2;1] |
x-Position Cursor 2 (0.0 wenn nur ein Cursor angezeigt wird). |
rmPos[3;1] |
Handle des Datensatzes. |
rmPos[1;2] |
y-Position Cursor 1 |
rmPos[2;2] |
y-Position Cursor 2 (0.0 wenn nur ein Cursor angezeigt wird). |
rmPos[3;2] |
Anzahl der Cursor (1 oder 2). |
rmPos[1;3] |
Index des nächsten Datenpunkts Cursor1 |
rmPos[2;3] |
Index des nächsten Datenpunkts Cursor2 |
rmPos[3;3] |
Interpolation (TRUE (1) oder FALSE (0)) |
Parameter
- hLayer
hLayer ist die Zugriffsnummer des Diagramms, das mit LayerCreate erzeugt wurde.
Siehe auch
id-1024692