Developer Documentation Library > Scripting > mrScriptMetadata User’s Guide > mrScriptMetadata reference > Styles and templates > Font style properties
 
Font style properties
These properties are children of the Font property.
Properties
Family
The font to use, assuming that it is available on the target HTML player. If a list of font names is specified, the first font in the list that is available will be used. This is the default property for the Font object.
Valid values: A font name or a list of font names separated by commas. Enclose font names that contain spaces in single quotes. For example, “Arial, 'Arial Black'”.
Data type: String
IsBlink
Whether the text is blinking. The default value is false.
Valid values: True or False.
Data type: Boolean
IsBold
Whether the text is bold. The default value is false.
Valid values: True or False.
Data type: Boolean
IsItalic
Whether the text is italic. The default value is false.
Valid values: True or False.
Data type: Boolean
IsOverline
Whether the text has overline formatting. The default value is false.
Valid values: True or False.
Data type: Boolean
IsStrikeThrough
Whether the text has strikethrough formatting. The default value is false.
Valid values: True or False.
Data type: Boolean
IsSubscript
Whether the text has subscript formatting. The default value is false.
Valid values: True or False.
Data type: Boolean
IsSuperscript
Whether the text has superscript formatting. The default value is false.
Valid values: True or False.
Data type: Boolean
IsUnderline
Whether the text is underlined. The default value is false.
Valid values: True or False.
Data type: Boolean
Size
The point size of the font.
Valid values: A positive integer.
Data type: Integer
Example
The following example shows how font style properties should be defined in mrScriptMetadata:
Q4 "Rating" LabelStyle ( Font ( Family = "Arial", IsBold = True, Size = 12 ) ) categorical [1] {High, Medium, Low};
Because Family is the default child property, it can also be defined using a shortened form as in the following example. However, if you define Family in this way, you cannot define any other font style properties.
Q4 "Rating" LabelStyle ( Font = "Arial" ) categorical [1] {High, Medium, Low};
See
Styles and templates