Drawtextvectorfont - SATO PV3 Manual

Xamarin sdk
Hide thumbs Also See for PV3:
Table of Contents

Advertisement

7-2-17 drawTextVectorFont

Saves data of the character strings to the printer buffer using the vector font.
[Syntax]
Task<int> drawTextVectorFont (string data, int xPos, int yPos, char fontSelection,
[Parameters]
• string data: data for characters to be printed
• int xPos: x axis coordinates of the character string
• int yPos: y axis axis coordinates of the character string
• char fontSelection: font selection
LabelVectorFont Enumeration
VECTOR_FONT_ASCII
VECTOR_FONT_KS5601
VECTOR_FONT_BIG5
VECTOR_FONT_GB2312
VECTOR_FONT_SHIFT_JIS
VECTOR_FONT_OCR_A
VECTOR_FONT_OCR_B
• int fontWidth: character width
• int fontHeight: character height
• int rightSpace: right space of character
• int rotation: printing direction
LabelRotation Enumeration
DEGREES_0
DEGREES_90
DEGREES_180
DEGREES_270
• bool reverse: prints characters with reverse property or not
• bool bold: prints characters with bold property or not
• bool italic: prints characters with italic property or not
• bool rightToLeft: direction of printing characters (left to right or right to left)
• int alignment: alignment
LabelAlignment Enumeration
LEFT
RIGHT
CENTER
[Returns]
If the method succeeds, the return value is zero(0). Other cases, returns non-zero.
Ver. 1.01
int fontWidth, int fontHeight, int rightSpace, int rotation,
bool reverse, bool bold, bool italic,
bool rightToLeft, int alignment)
- 23 -
Value
Description
'U'
ASCII (1Byte code)
'K'
KS5601 (2Byte code)
'B'
BG5 (2Byte code)
'G'
GB2312 (2Byte code)
'J'
Shift-JIS (2Byte code)
'a'
OCR-A (1Byte code)
'b'
OCR-B (1Byte code)
Value
Description
0
No rotated
1
Rotated 90 degree (clockwise )
Rotated 180 degree
2
Rotated 270 degree (clockwise )
3
Value
Description
Align to the left
0
Align to the right
1
Align at the center
2
Xamarin SDK

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pv4

Table of Contents