C3Fire

C3Fire Session Configuration

From C3LearningLabs


Images

The images possible to use for this object are defined in the <Images> element.

<Images>
  <Image/>
  <Image/>
  ...
  <Image/>
</Images>


A Image 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"

CreateMethod

How the image is crated.

Possible values: "Load","Create"
Load: The image are loaded.
Create: The image is an text that is created with the defined formatting.

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"

BorderColor

The background color of the border around the image
Hexadecimal color code definition "#FFFFFF", #(Red)(Green)(Blue)

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

BorderSize

The size of the border around the image
Value is difined in pixels.

Example values: "1"

FileName

A relative path and file name to the image file.
The path is relative to:
<C3FIRE-IMAGES> = ...\C3LearningLabs\C3Fire\Client\Files\ROOT\Image\
Same structure for C3Rescue and C3Conflict.

Example value: "Station/ArmyPost.png"

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"

Size

The size of the created image.
The value is in format "width,height"

Example values: "80,20"

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:

        <Image
          Name = "MapReal"
          BackgroundColor = "#AAAAFF"
          BorderColor = "#000000"
          BorderSize = "0"
          CreateMethod = "Load"
          FileName = "Station/VillageA.png"
          FontName = ""
          FontSize = ""
          FontStyleBold = ""
          FontStyleItalic = ""
          Size = ""
          Text = ""
          TextColor = ""
          ZeroPos = "" />