"dateFont"

Sets the font for a date.

Synopsis

setValue (string shape, "dateFont", string font);

getValue (string shape, "dateFont", string &font);

shape.dateFont(string font);

Parameters

Parameter Description
shape Name of the object
font The font, for example, "Arial Black,-1,11,5,87,0,0,0,0,0". To find the desired font, use the function fontSelector().

Description

Sets the font for a date.

Example

The following example sets the font for a date to Arial Black and italic.

main()
{
  CLOCK1.dateFont(" Arial Black,-1,11,5,87,0,0,0,0,0");
}
Figure 1. The Font of the Clock was set to "Arial Black" and "Italic"

Assignment

Clock