DynaPDF Manual - Page 812

Previous Page 811   Index   Next Page 813

Function Reference
Page 812 of 818
\TL[int]
The tag changes the current tabulator length. The value must be in the range 1 to 255. See
also SetTabLen().
\TR[float]
The tag changes the current text rise. Text rise can be used to create superscript or subscript
text parts inside a text block. The value must be in the range -1000 to 1000 units.
\TS[float]
The tag changes the current horizontal text scaling. The value must be greater zero. See also
SetTextScaling().
Special characters
The following list defines which characters can be used to insert new lines, tabulators and so on.
Character code (Hex)
Description
0x10 or 0x13 or
New line or end-of-line character code. The combination of a carriage return plus
0x13 + 0x10
a line feed will be treaded as single end-of-line character.
0x09
A tabulator is emulated by inserting a variable count of space characters. The
number of characters can be adjusted inside the text with the command tag
\TL[] or outside with the property SetTabLen().
The function supports also specific Unicode characters which are used to control the bidirectional
algorithm. The bidirectional formatting codes are also supported by all other text functions.
Character code (Hex)
Description
0x202A
LRE Left-to-Right Embedding (treat the following text as embedded left-to-right)
0x202B
RLE Right-to-Left Embedding (treat the following text as embedded right-to-left)
0x202C
PDF Pop Directional Format (restore the bidirectional state to what it was before
the last LRE, RLE, LRO or RLO)
0x202D
LRO Left-to-Right Override (force the following characters to be treated as
strong left-to-right characters)
0x202E
RLO Right-to-Left Override (force the following characters to be treated as
strong right-to-left characters)
0x200E
LRM Left-to-Right Mark (left-to-right zero-width character)
0x200F
RLM Right-to-Left Mark (right-to-left zero-width character)
0x200C
Zero width non-joiner
0x200D
Zero width joiner
The bidirectional code pages 1255 and 1256 support the character codes 0x200E and 0x200F only (the
mapped codes are 253 and 254).
Note that the Unicode character codes are supported by the Unicode version of the function only.
 

Previous topic: Command tags

Next topic: Escape Sequences, How to create multi-column text?


Start Chat