C3Fire

Text Configuration

From C3LearningLabs


Texts

The texts possible to use for this object are defined in the <Texts> element.

<Texts>
  <Text/>
  <Text/>
  ...
  <Text/>
</Texts>


A text is defined with the following properties:

Text Parameters

Parameters

Description

Only Used In

Name

The identification name. Should be unique for this object.
Should be unique in this <Texts> ... <Texts> element.

Example value: "ShortName", "Description-HTML"

Type

The formatting type of the text.

Possible values: "Normal","Formatted", "Html"
Normal: The text is used as it is in the UI, Logfiles, etc.
Formatted: The text is formatted using the font and color description in this text, when displayed in a html supported display area.
Html: The text is formatted as html, when displayed in a html supported display area.

BackgroundColor

The background color used when displayed in a text format supported display area.
Hexadecimal color code definition "#FFFFFF", #(Red)(Green)(Blue)

Exampe values: "#FF0000", "#FF9A00"

FontName

The font name used when displayed in a text format supported display area.

Example values: "Arial"

FontSize

The font size used when displayed in a text format supported display area.

Example values: "12"

FontStyleBold

If the font style should have bold activated when displayed in a text format supported display area.

Possible values: "True","False","Yes","No"

FontStyleItalic

If the font style should have italic activated when displayed in a text format supported display area.

Possible values: "True","False","Yes","No"

Text

The text that should be used.

Example values: "Hello World"

TextColor

The text color used when displayed in a text format supported display area.
Hexadecimal color code definition "#FFFFFF", #(Red)(Green)(Blue)

Exampe values: "#FF0000", "#FF9A00"

ZeroPos

The position correction for the displayed in a text format supported display area.

Example values: "-5,-4"
If the value are (-5,-4) then the centre position for the text is moved 5 pixels towards west and 4 pixels towards north.

Xml configuration example:

        <Text          
          Name = "MapReal"
          Type = "Formatted"
          BackgroundColor = ""
          FontName = "Arial"
          FontSize = "24"
          FontStyleBold = "True"
          FontStyleItalic = "False"
          Text = "Village A"
          TextColor = "#EEEEEE"
          ZeroPos = "-50,-50" />