7.4

Table Of Contents
Foreign Language Text within PlanetPress Objects
You can use PlanetPress Talk objects to display either static text or variable content. You would typically add a paragraph for
static text or a simple field for variable information, such as a client’s name or address.
A. A PlanetPress Talk object created without defining a UTF8 paragraph ; B. Another PlanetPress Talk object, created this time
with UTF8 paragraph properties (the paragraph is justified on both sides)
If you need a string, that may contain variable content, you can use the ShowUTF8Left, ShowUTF8Center and Sho-
wUTF8Right commands. Note that if you choose to display a box around objects that include any of these commands, the
box may not be perfectly drawn. Pages that include many objects with these commands will not display as fast as other
pages.
If you need a paragraph, that may only contain static text, you must use the BeginUTF8Paragraph and EndUTF8Pa-
ragraph procedures along with the ShowUTF8 command.
The following illustration shows the properties of a PlanetPress Talk object that creates a paragraph containing Arabic text.
The code associated with this object is also displayed in the PlanetPress Talk Editor.
©2010 Objectif Lune Inc - 234 -