SetTextStyle

Sets style of a string to be drawn

SetTextStyle <fontSize>, <align>, <color>, <angle>, <style>

Parameters
<fontSize>
Font size to draw
<align>
Arrangement specification of the string to be drawn
<color>
Color of the string to be drawn
<angle>
Tilt of the string to be drawn
<style>
Typeface of the string to be drawn

Return Value
None.

Description
Sets style of a string to be drawn by the DrawTextG command in the display window.
Performs DrawTextG command after this command, display characrter string with style specified of this command.
Specify FONTSIZE_NORMAL for the normal size.
The following value is specified for the argument <align>.
TA_BASELINE
Sets the text display coordinate at the baseline
TA_BOTTOM
Sets the text display coordinate at the bottom
TA_TOP
Sets the text display coordinate at the top
TA_CENTER
Sets the text display coordinate at the center (horizontal)
TA_LEFT
Sets the text display coordinate at the left end
TA_RIGHT
Sets the text display coordinate at the right end
TA_NOUPDATECP
Sets no update
TA_RTLREADING
Right to left(Middle East version)
TA_UPDATECP
Update current position
Color of the string is specified by the argument <color>, The value that can be specified is as follows.
JUDGE_NC
Gray
JUDGE_OK
OK color(Green)
JUDGE_NG
NG color(Red)
The following value is specified for the argument <style>.
FONTSTYLE_NORMAL
Normal
FONTSTYLE_BOLD
Bold
FONTSTYLE_ITALIC
Italic
FONTSTYLE_UNDERLINE
Underline
FONTSTYLE_STRIKEOUT
Strikeout
It makes an error(Illegal function call) when performing it not in the *MeasureDispG subroutine.

Notes