89
CITIZEN UWP POS Print SDK - Programming Manual
3.3.12. SetCursorTypeAsync method
Syntax
Task<int> SetCursorTypeAsync (int cursorType)
Parameter
The meanings and settable values of the parameters are as follows.
Element
Meaning
Settable range
CursorType
Cursor type specification
CDP_TYPE_NONE: Hide cursor
CDP_TYPE_UNDERLINE: Display cursor
(Omittable element,
T
YPE_UNDERLINE
when omit)
Description
This displays the current cursor position on the display.
Return value
Return CDP_SUCCESS (0) in success. Please refer to "
"" for the error code except it.
Example
await display.SetCursorTypeAsync(LineDisplayConst.CDP_TYPE_UNDERLINE);