Setdisplaymodeasync Method - Citizen CT-D101 Series Programming Manual

Hide thumbs Also See for CT-D101 Series:
Table of Contents

Advertisement

3.3.8. SetDisplayModeAsync method

Syntax
Task<int> SetDisplayModeAsync (int displayMode)
Parameter
The meanings and settable values of the parameters are as follows.
Value
DisplayMode
Description
This method sets the following display modes.
DisplayMode
Overwrite
VerticalScroll
HorizontalScroll
Return value
Return CDP_SUCCESS (0) in success. Please refer to
Example
await display.SetDisplayModeAsync(LineDisplayConst.CDP_VERTICALSCROLL);
Meaning
Display mode
Overwrites the text at the cursor position and moves the cursor to the right.
(The cursor moves to the bottom left edge for input when it is at the top right
edge, and the cursor moves to the top left edge for input when it is at the
bottom right edge.)
Scrolls the display line of the top edge to the bottom edge by cursor up
movement when the cursor is at the top edge (or by left movement when it
is at the left edge).
Scrolls the display line of the bottom edge to the top edge by cursor down
movement when the cursor is at the bottom edge (or by right movement
when it is at the right edge).
Scrolls the text leftward in respect to the current cursor line by cursor right
movement (or by text input) when the cursor is at the right edge.
Scrolls the text rightward in respect to the current cursor line by cursor left
movement when the cursor is at the left edge.
CITIZEN UWP POS Print SDK - Programming Manual
Settable range
CDP_OVERWRITE(1): Overwrite mode
CDP_VERTICALSCROLL(2):
CDP_HORIZONTALSCROLL(3):
Overview
"3.3.1 Return
value"" for the error code except it.
85
Vertical scroll mode
Horizontal scroll mode

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents