7.67.52015-05-06

BeginUTF8Paragraph … EndUTF8Paragraph (procedure)

Delimits a paragraph of formatted UTF8 text.

This procedure is based on BeginParagraph … EndParagraph (procedure), with the following differences:

Syntax

beginUTF8paragraph( lmargin, rmargin, firstindent, align, leading, majormode, [forcedwordwrap] )

% Your Paragraph data here

endUTF8paragraph()

Arguments

Same as BeginParagraph … EndParagraph (procedure).

Code Sample Example

This example displays a justified paragraph with the UTF8 text running from right to left.

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()