88
CITIZEN UWP POS Print SDK - Programming Manual
3.3.11. MoveCursorAsync method
Syntax
Task<int> MoveCursorAsync (int dx, int dy)
Parameter
The meanings and settable values of the parameters are as follows.
Value
Meaning
Settable range
dx
Rightward/leftward
movement amount
-128 to 127
dy
Upward/downward movement
amount
-128 to 127
Description
This method is used to move the cursor.
Movement is from the current cursor position. Specify the leftward/rightward movement amount (-:
leftward, +: rightward) and upward/downward movement amount (-: upward, +: downward) for the
cursor movement amount.
Return value
Return CDP_SUCCESS (0) in success. Please refer to "
"" for the error code except it.
Example
await display.MoveCursorAsync(2, 0);