![Citizen CL-E300 Programming Manual Download Page 42](http://html1.mh-extra.com/html/citizen/cl-e300/cl-e300_programming-manual_2610002042.webp)
CITIZEN Android Label Print SDK
—
Programming Manual
42
2.2.25 HorizontalOffset property
Syntax
int HorizontalOffset
Attribute
Read/Write
Description
Sets the horizontal offset to adjust the horizontal printing position on the paper.
Inch system
0000
–
9999 (0.00 inch - 99.99 inches)
Metric system
0000
–
9999 (0.0 mm - 999.9 mm)
Default value
0000
Setter method
int setHorizontalOffset (int horizontalOffset)
Returns CLS_SUCCESS (0) on success. See "
" for the error codes.
Getter method
int getHorizontalOffset ()
Returns the set value. If nothing has been set, it returns CLS_PROPERTY_DEFAULT(999999).
Example
int horizontalOffset;
printer.setHorizontalOffset(20);
horizontalOffset = printer.getHorizontalOffset();