Skip to content

user formattedtext basic

Tim Stair edited this page Sep 18, 2015 · 2 revisions

User Guides - FormattedText - Basic Font Manipulation

General

This guide covers the use of FormattedText element to adjust the font inline. If you are familiar with HTML tags this is not all that different.

Font Tags

Normally when you use a Text/FormattedText element you set the style in the Element Control window. With FormattedText inline tags you can switch the style any time you want.

Bold: Sample Italic: Sample Strikeout: Sample Underline: Sample Font Size (see image below) Font Color (see image below)

The definition for the above is: <b>Bold</b><br><i>Italic</i><br><s>Strikeout</s><br><u>Underline</u><br><fs=16>Font Size</fs><br><fc=0xFF00FF>Font Color</fc><br>

Note: It is critical to set the Line Spacing value in the Element Control window!

Mixing Tags

Additionally you can stack the tags. So you can make a whole section of a string bold and then underline a keyword in it: <b>This is a bold string with the word <u>underline</u> underlined!</b>

The result would be: This is a bold string with the word underline underlined!

Be careful to keep track of your tags and close them as necessary. All of the font tags indicated in this tutorial require a closing tag to remove the style from the stack.

Clone this wiki locally