6.0

Table Of Contents
151
Example
setlinewidth(0.007)
moveto(0,0)
rlineto(&width,0)
rlineto(0,&height)
rlineto(neg(&width),0)
rlineto(0,neg(&height))
closepath()
stroke()
moveto(&width/2,&height/18)
BeginUTF8Paragraph(0.0000,&width,0.0000,'leftright',0.1667,'rtl')
SetStyleExt(&Style1,12.0000,0,[100],100)
ShowUTF8('\u0623\u0633\u0627\u0633\u064B\u0627\u060C')
EndUTF8Paragraph()
ShowUTF8Left / ShowUTF8Right / ShowUTF8Center (procedure)
These three commands are used to display simple text strings on the document. They are identical in all
aspects, except in the way they behave relative to the text insertion point: showUTF8Left displays the text
from the insertion point to the left; showUTF8Right displays the text from the insertion point to the right;
and showUTF8Center displays the text equally on both sides of the insertion point.
Note: These commands cannot be used with a beginUTF8paragraph...endUTF8paragraph structure.
Syntax
showUTF8left( text, mode)
showUTF8right( text, mode )
showUTF8center( text, mode )
Argument
text — Static text string or data selection to be displayed. Bear in mind that the information, wether static
or variable, must be in UTF8. The maputf8 function can be used to convert the information to UTF8.
mode — String value specifying the contextual analysis is to be performed. Possible values are 'normal',
'reverse', and 'none' (for no contextual analysis).