Applies To: |
|
Summary: |
I want to create fonts with my own colours. How do I do this in CitectSCADA version 6.00? |
Solution: |
In version 6.00 true colour has been
introduced and the previous citect palette file is no longer used
for you to reference colours. Colours are now referenced using hex
bits for the Red, Green and Blue (32-bit RGB) values. If you Open
the Graphics Builder and choose "Edit Your Favourite Colours" from
the Tools Menu, you can see RGB values for each colour you select.
These values are shown in decimal. If for example the colour you
want to use has the values:
R = 128 G = 170 B = 213 If you wish, you can convert these to their hex equivalents: R = 0x80 G = 0xAA B = 0xD5. You can now define a Label for your colour, combining the hex values. For example, Label Name: Plate_Blue Expression: 0x80AAD5 (or 8432321 decimal equivalent) Once you have defined your Label you can create Fonts that you can then use in your project for Alarm Categories, Cicode functions, and Button objects. For example: Font Name: Plate_Font Font Type: Arial Pixel Size: 12 Foreground Colour: Plate_Blue In version 6, flashing colours are implemented by two linked colours to provide an off and on state. Flash fields have been provided in the Fonts database to enable configuration. Similarly to the Foreground Colour field above, you can simply choose from the predefined colours, or from your own colours that you have defined in Labels. For example: Font Name: Plate_Font Font Type: Arial Pixel Size: 12 Foreground Colour: Plate_Blue Foreground Flash: White Background Colour: Grey Background Flash: Black |
Keywords: |
Related Links
Attachments