82
CITIZEN UWP POS Print SDK - Programming Manual
3.3.5. DisplayTextAsync method
Syntax
Task<int> DisplayTextAsync (String data, boolean reverseFlag)
Parameter
The meanings and settable values of the parameters are as follows.
Value
Meaning
Settable range
Data
Text data
String
ReverseFlag
Reverse specification flag
false: Standard
true: Reverse
When the argument is omitted, it is
treated as false.
Description
This method is used to display text from the current cursor position.
Reverse can be specified for the text attribute.
Return value
Return CDP_SUCCESS (0) in success. Please refer to "
"" for the error code except it.
Example
await display.DisplayTextAsync("
Hello, World!
");