It has a HTML-like set of tags. Not very strict, so tag pairs don't have to match up. For example <<<< tags are often used to get you back to default (normal) text formatting.
To display a physical tags in your text, you need to prefix the << symbol of a tag, with an extra << symbol.
Margins
The following text has a left margin of 10 spaces and a right margin of 5 spaces.
1 2 3 4 5 6
12345678901234567890123456789012345678901234567890123456789012345
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam tincidunt lacinia diam, a egestas arcu bibendum sit amet. Proin erat mauris, vehicula id auctor aliquam, semper id turpis. Etiam iaculis lectus sit amet velit molestie euismod. Proin vel fermentum sem. Vivamus ut odio ligula, et egestas purus. Pellentesque eu turpis vitae ante adipiscing lacinia. Nulla dignissim, ligula id eleifend accumsan, sapien lacus condimentum nulla, eu pulvinar risus magna quis turpis. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In vel semper nunc. Nulla eget justo at dolor vestibulum aliquam. Aenean commodo egestas odio, a rutrum sapien fringilla et.
Note the above image is aligned to the right. We can also specify margins using pixels. This paragraph has a left margin of 100px.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam tincidunt lacinia diam, a egestas arcu bibendum sit amet. Proin erat mauris, vehicula id auctor aliquam, semper id turpis. Etiam iaculis lectus sit amet velit molestie euismod. Proin vel fermentum sem. Vivamus ut odio ligula, et egestas purus. Pellentesque eu turpis vitae ante adipiscing lacinia. Nulla dignissim, ligula id eleifend accumsan, sapien lacus condimentum nulla, eu pulvinar risus magna quis turpis. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In vel semper nunc. Nulla eget justo at dolor vestibulum aliquam. Aenean commodo egestas odio, a rutrum sapien fringilla et.
Now the margin is set back to 0 (default).
Headings
Then we have some general text texts like heading 1-3, normal text and fixed width text.
This is Heading 1 font
This is Heading 2 font
This is Heading 3 font
This is normal text
This is fixed font text
Text Color
We can also specify text colors like green, blue, or some RRGGBB specified color. We can also specific a text background color.
Alternative Fonts
This sentence is in Courier New 8 font.
This sentence is in 'Times New Roman' 12 font.
This sentence is in Helvetica 18 font.
This sentence is in the default system font.
Text alignment
This text is left aligned.
This text is centre aligned.
Images follow the same alignment as text.
This is right aligned.
This is back to normal.
ASCII or Unicode text art
Using the << is handy to create text art. If your FixedFont supports Unicode drawing characters, then you can make your text art look even better.
+-------------------------------------+
|File Edit | View | Options Help |
+-------------------------------------+
| All |
| Some . . . |
+--------------------+
| By . . . |
+--------------------+
HyperLinks
RichTextView also supports hyperlinks. Simply use the < syntax, where "xyz" is the link text that will be sent to the OnClickLink() and OnOverLink() events.
By default the link text will appear in the same color and styling as the surrounding text. If you want to make it more visible, use the < tags.