87
CITIZEN UWP POS Print SDK - Programming Manual
3.3.10. SetCursorPositionAsync method
Syntax
Task<int> SetCursorPositionAsync (int x, int y)
Parameter
The meanings and settable values of the parameters are as follows.
Value
Meaning
Settable range
x
Digit position
From 1
y
Line position
From 1
Description
This method is used to set the cursor position.
The cursor position is the movement coordinates of the cursor, and specifies the digit position and line
position.
Return value
Return CDP_SUCCESS (0) in success. Please refer to "
"" for the error code except it.
Example
await display.SetCursorPositionAsync(1, 2);