3-2-15 drawTextVectorFont
This method requests the printing of text string to the image buffer using the Vector Fonts.
[Syntax]
-(long) drawTextVectorFont:(NSString*)text
xPosition:(NSInteger)xPostion
yPosition:(NSInteger)yPostion
fontSelection:(char)fontSelection
fontWidth:(NSInteger)fontWidth
fontHeight:(NSInteger)fontHeight
rightSideCharacterSpacing:(NSInteger)rightSideCharacterSpacing
fontRotation:(NSInteger)fontRotation
reverse:(BOOL)reverse
bold:(BOOL)bold
italic:(BOOL)italic
textWriteDirectionRightToLeft:(BOOL)textWriteDirectionRightToLeft
textAlignment:(NSInteger)textAlignment;
[Parameters]
text
Text string to print
xPosition
X coordinate of the position to print
yPosition
Y coordinate of the position to print
fontSelection
Selection of fonts to print (Reference: 2-15 Device Fonts)
fontWidth
Horizontal magnification of the selected font (1~4).
fontHeight
Vertical magnification of the selected font (1~4).
rightSideCharacterSpacing
Right side margin of the characters (ex: 5, +3, -10…).
fontRotation
Rotation setting of the selected font (Reference: 2-14 Rotation Degrees)
reverse
Option to use the Reverse Image Font.
Reverse Image Font will be used for printing if this parameter is set to YES.
bold
Option to use the Bold Font.
Bold Font will be used for printing if this parameter is set to YES.
italic
Option to use the Italic Font.
Italic Font will be used for printing if this parameter is set to YES.
textWriteDirectionRightToLeft
Option to print the character string in the direction from right to left
textAlignment
Alignment method (Reference: 2-2 Alignment)