Difference between revisions of "XML: Escape Sequences"
From FSDeveloper Wiki
(New page: The following list describes the XML Escape Sequences that may be used within a <String> statement: '''\{tabs=50R,60C, 244L}''' set 3 tab stops; the first is right-aligned, the second i...) |
|||
Line 83: | Line 83: | ||
insert image #1 (a text element can have image children) | insert image #1 (a text element can have image children) | ||
− | [[Category:Aircraft | + | [[Category:Aircraft Design]] |
− | [[Category: | + | [[Category:Panel & Gauge Design]] |
Revision as of 14:25, 7 July 2008
The following list describes the XML Escape Sequences that may be used within a <String> statement:
\{tabs=50R,60C, 244L}
set 3 tab stops; the first is right-aligned, the second is centered, and last is left-aligned.
\{fnt1}
switch to the first alternate font specified as a child of the gauge text element
\{fnt}
return to the default font
\{up}
superscript
\{dn}
subscript
\{md}
normal (neither superscript nor subscript)
\{bo}
bold
\{ul}
underline
\{itl}
italic
\{strk}
strikeout
\{blnk}
blink
\{rev}
reverse background/foreground color for text
\{nr}
normal - clear all properties previously set.
\{lcl}
line color
\{blc}
background line color
\{clr}
color
\{bck}
background color
\{strk}
strikeout
\{dplo=X}
put a degrees symbol above the next character after the ‘=’
\{dpl=XY}
make X superscript and Y subscript
\{lsp=23}
set line spacing to 23
\{lsp}
set line spacing to default
\{ladj=L}
set horizontal text alignment to left. (use ‘C’ for center or ‘R’ for right)
\{line=240}
draw a horizontal line with width 240
\{lmrg=20}
set the left margin to 20
\{rmrg=30}
set the right margin to 30
\{img1}
insert image #1 (a text element can have image children)