83
CITIZEN UWP POS Print SDK - Programming Manual
3.3.6. ClearDisplayAsync method
Syntax
await Task<int> ClearDisplayAsync (int displayArea)
Parameter
The meanings and settable values of the parameters are as follows.
Value
Meaning
Settable range
displayArea
Clear area
CDP_AREA_ALL(0): Entire area
CDP_AREA_CURSORLINE(1):Cursor line
When the argument is omitted, it is
treated as CDP_AREA_ALL.
Description
This method clears the displayed text.
Return value
Return CDP_SUCCESS (0) in success. Please refer to "
"" for the error code except it.
Example
await display.ClearDisplayAsync(LineDisplayConst.CDP_AREA_ALL);